Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DirectX9 - 3d object translating with sine wave pattern ... Pin
Alexander M.,13-May-05 13:43
Alexander M.,13-May-05 13:43 
GeneralRe: DirectX9 - 3d object translating with sine wave pattern ... Pin
jc0dex13-May-05 17:23
jc0dex13-May-05 17:23 
GeneralRe: DirectX9 - 3d object translating with sine wave pattern ... Pin
jc0dex13-May-05 17:41
jc0dex13-May-05 17:41 
GeneralTranslucent Painting Issues Pin
Strath-Clyde13-May-05 10:07
Strath-Clyde13-May-05 10:07 
GeneralRe: Translucent Painting Issues Pin
Strath-Clyde13-May-05 10:14
Strath-Clyde13-May-05 10:14 
GeneralQuestion: Status bar didn't display updated message problem. Pin
Anonymous13-May-05 10:05
Anonymous13-May-05 10:05 
GeneralRe: Question: Status bar didn't display updated message problem. Pin
toxcct13-May-05 21:26
toxcct13-May-05 21:26 
GeneralCopying Hidden Window Aspect Using GDI Pin
Axonn Echysttas13-May-05 9:41
Axonn Echysttas13-May-05 9:41 
Hi everybody : ). I took a short brake from visiting The Code Project since I was very busy with the project some of you know I'm working on. That is, a freeware. I'm pretty close to completion and hopefully in a few months you'll all have the opportunity to use a very nifty and usefull little application : D. For free. 'cause I am doing this out of pleasure, like you are helping here. I like to consider this my little gift to all the people that help and to the internet community in general.

However, we're not living in Paradise, so we run into all sorts of problems. What happens is that I got myself into one such problem : |.

The issue is that I want to use GDI to draw something in a Window. Draw something in a Window, by taking THAT SOMETHING from another window. Using getDc and bitblt that is : ). All fine so far... until I use ShowWindow to hide the window.

Of course, I don't want my original window (the one I'm copying the stuff from) to be visible. But the problem is that after I hide it, bye bye bitblt. Bitblt uses X and Y coordinates to *know* from where to take its stuff. So if I hide the window, the function just copies whatever I got on screen at that location. Pretty frustrating huh?

I guess I could use GDI function to draw text and colors directly???? I don't know how. I don't want to go there. It's too complicated for what I need. Because I may want to include bitmaps and stuff. So people... my question is... how can I bitblt from a hidden window? : ). 'cause frankly, if I nail this problem, I'm gonna be one step closer to my goal.

I don't think that I need to mention that I thank all of you for being here and helping people like me. Two months ago I was a newbie to VC++, now I began to find my way around. But there are still tricks which escape me.

Thank you in advance.

-= E C H Y S T T A S =-
The Greater Mind Balance
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 
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 

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.