Click here to Skip to main content
16,004,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Copying Hidden Window Aspect Using GDI Pin
PJ Arends13-May-05 10:14
professionalPJ Arends13-May-05 10:14 
GeneralRe: Copying Hidden Window Aspect Using GDI Pin
jc0dex13-May-05 10:47
jc0dex13-May-05 10:47 
GeneralRe: Copying Hidden Window Aspect Using GDI Pin
Axonn Echysttas13-May-05 12:05
Axonn Echysttas13-May-05 12:05 
GeneralRe: Copying Hidden Window Aspect Using GDI Pin
jc0dex13-May-05 12:20
jc0dex13-May-05 12:20 
GeneralRe: Copying Hidden Window Aspect Using GDI Pin
jc0dex13-May-05 13:01
jc0dex13-May-05 13:01 
GeneralRe: Copying Hidden Window Aspect Using GDI Pin
Axonn Echysttas13-May-05 22:39
Axonn Echysttas13-May-05 22:39 
GeneralRe: Copying Hidden Window Aspect Using GDI Pin
jc0dex14-May-05 7:42
jc0dex14-May-05 7:42 
GeneralRe: Copying Hidden Window Aspect Using GDI Pin
Axonn Echysttas14-May-05 22:13
Axonn Echysttas14-May-05 22:13 
No problem. I'm not that experienced but I not as beginner either : D.

Trust me, I tried all the possible alternatives. GDI is the only way to go. I'm trying to tamper with a particular window from the operating system which is very very rigid. That is, the clock window. I want to overwrite its contents with something made by me. So I have a window, the source, that contains some stuff that I want to put in that systray clock window. You can imagine now, why I want to HIDE the source window, my window.

I am almost certain that I can do this by drawing a DC with GDI directly in memory. That's possible right? Drawing something virtually and then just copying over the systray clock. I don't know how to do that either but I think it's possible.

But definetely, the best solution would be to be able to take stuff from my already-made window and dump it in the systray clock window : D. That would be cool 'cause my window already contains everything nicely formatted, and I wouldn't be forced to start re-inventing the wheel, that is, drawing everything again using GDI.

Also, the contents of my original window changes constantly, every second to be exact. That's the real problem : ). After I hide it, I need to refresh the systray clock's aspect from that window of mine. And bitblt only copies whatever is on screen at the X and Y coordinates with Z and W width. Annoying. So if my window's hidden, bye bye bitblt.

So far I did everything with API. I don't want to use MFC... it makes your life easier but it's not mandatory to use it. API is just as cool. I want to make this as small and as portable as possible. Anyway, you got the picture I guess... in the meantime I'm making all sorts of experiments with this issue.

-= E C H Y S T T A S =-
The Greater Mind Balance
Generalnew to visual c++ Pin
haes13-May-05 9:25
haes13-May-05 9:25 
GeneralRe: new to visual c++ Pin
ThatsAlok13-May-05 18:40
ThatsAlok13-May-05 18:40 
GeneralRe: new to visual c++ Pin
haes14-May-05 9:16
haes14-May-05 9:16 
GeneralRe: new to visual c++ Pin
ThatsAlok15-May-05 18:06
ThatsAlok15-May-05 18:06 
GeneralRe: new to visual c++ Pin
ThatsAlok15-May-05 18:14
ThatsAlok15-May-05 18:14 
GeneralCButton Sib-class Pin
Grahamfff13-May-05 9:11
Grahamfff13-May-05 9:11 
GeneralRe: CButton Sib-class Pin
PJ Arends13-May-05 9:29
professionalPJ Arends13-May-05 9:29 
GeneralRe: CButton Sib-class Pin
Anonymous14-May-05 8:29
Anonymous14-May-05 8:29 
GeneralHelp with ASCII conversion Pin
rexpiper13-May-05 9:07
rexpiper13-May-05 9:07 
GeneralRe: Help with ASCII conversion Pin
Kuniva13-May-05 12:01
Kuniva13-May-05 12:01 
QuestionWhat do i use to make a DOS app Pin
Anthony Mushrow13-May-05 7:40
professionalAnthony Mushrow13-May-05 7:40 
AnswerRe: What do i use to make a DOS app Pin
S. Senthil Kumar13-May-05 7:44
S. Senthil Kumar13-May-05 7:44 
AnswerRe: What do i use to make a DOS app Pin
David Crow13-May-05 7:54
David Crow13-May-05 7:54 
AnswerRe: What do i use to make a DOS app Pin
Chris Losinger13-May-05 10:04
professionalChris Losinger13-May-05 10:04 
GeneralRe: What do i use to make a DOS app Pin
S. Senthil Kumar13-May-05 21:21
S. Senthil Kumar13-May-05 21:21 
General@Printer Driver.... Pin
Anonymous13-May-05 7:26
Anonymous13-May-05 7:26 
GeneralCListCtrl CustomDraw/OnCtlColor Quandary Pin
GregH13-May-05 6:02
GregH13-May-05 6:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.