Click here to Skip to main content
15,920,632 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Thank you both PJ Arends and jc0dex for answering so soon : D.

I didn't yet check out PJ's answer, but I do have a question for you both, and something I forgot to mention!

The window that I want to draw from (the original window - the one that I wish to hide) gets repainted every second. So practically, things are going on there. Every second something changes in it.

So I don't know if a backbuffer might help. Are you talking about the stuff that I can get from using CreateCompatibleDC?

Sorry for leaving out this detail. The fact that the window changes complicates things. I don't even know if Windows really changes it... because this window (the original window) will always be hidden. There are two labels on it which change every second indicating a text. Or maybe I'll put a series of bitmaps that change one after the other. This is the real issue.... I would draw directly in the source window... but what if I want to take more complex elements from the original window? Like a bitmap, a gif or even other more complex things. This is why I need a support window, to copy the stuff from. It's difficult drawing directly with GDI.

So... I can only use GDI... and I don't know if it'll work with a window that keeps changing its data every second and it's also hidden with ShowWindow.

Hm : |.

Oh, and what was that about MFC? What does this have to do with anything? : ). Excuse my lack of knowledge.

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

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.