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

C / C++ / MFC

 
GeneralCapture Hidden Window's contents into an HBITMAP/HDC Pin
ohadp23-Nov-03 3:39
ohadp23-Nov-03 3:39 
GeneralRe: Capture Hidden Window's contents into an HBITMAP/HDC Pin
Peter Molnar23-Nov-03 9:06
Peter Molnar23-Nov-03 9:06 
GeneralRe: Capture Hidden Window's contents into an HBITMAP/HDC Pin
ohadp23-Nov-03 20:31
ohadp23-Nov-03 20:31 
GeneralRe: Capture Hidden Window's contents into an HBITMAP/HDC Pin
ohadp23-Nov-03 20:32
ohadp23-Nov-03 20:32 
GeneralRe: Capture Hidden Window's contents into an HBITMAP/HDC Pin
Peter Molnar24-Nov-03 2:06
Peter Molnar24-Nov-03 2:06 
GeneralRe: Capture Hidden Window's contents into an HBITMAP/HDC Pin
ohadp24-Nov-03 2:43
ohadp24-Nov-03 2:43 
GeneralRe: Capture Hidden Window's contents into an HBITMAP/HDC Pin
Peter Molnar24-Nov-03 3:37
Peter Molnar24-Nov-03 3:37 
GeneralRe: Capture Hidden Window's contents into an HBITMAP/HDC Pin
ohadp24-Nov-03 3:53
ohadp24-Nov-03 3:53 
I've tried this before, but I tried it again to be sure.

If you try to get information from a hidden window's DC, you get nothing, or in the best case you get whatever is painted in the area currently taken by it's parent.

or in other words:

<br />
CDC* hiddenWindowDC = hiddenWindow->GetDC();<br />
savedForLater.BitBlt(0, 0, width, height, hiddenWindowDC, 0, 0, SRCCOPY);<br />


This code yeilds nothing, or the parent's bacgkround.
QuestionHow do you enable column drag-drop in a CListView? Pin
Abin23-Nov-03 2:57
Abin23-Nov-03 2:57 
AnswerRe: How do you enable column drag-drop in a CListView? Pin
Michael Dunn23-Nov-03 8:48
sitebuilderMichael Dunn23-Nov-03 8:48 
GeneralRe: How do you enable column drag-drop in a CListView? Pin
Abin23-Nov-03 13:45
Abin23-Nov-03 13:45 
GeneralTask pane Pin
programmi.demo23-Nov-03 2:55
programmi.demo23-Nov-03 2:55 
GeneralRe: Task pane Pin
BaldwinMartin23-Nov-03 16:47
BaldwinMartin23-Nov-03 16:47 
GeneralRe: Task pane Pin
programmi.demo23-Nov-03 23:56
programmi.demo23-Nov-03 23:56 
GeneralRe: Task pane Pin
BaldwinMartin24-Nov-03 0:49
BaldwinMartin24-Nov-03 0:49 
GeneralRe: Task pane Pin
G Haranadh26-Oct-10 21:40
G Haranadh26-Oct-10 21:40 
GeneralDisappearing images Pin
Killen23-Nov-03 2:34
Killen23-Nov-03 2:34 
GeneralRe: Disappearing images Pin
Ivor S. Sargoytchev23-Nov-03 5:40
Ivor S. Sargoytchev23-Nov-03 5:40 
GeneralRe: Disappearing images Pin
Killen23-Nov-03 8:24
Killen23-Nov-03 8:24 
GeneralRe: Disappearing images Pin
Terry O'Nolley23-Nov-03 5:47
Terry O'Nolley23-Nov-03 5:47 
GeneralRe: Disappearing images Pin
bnn3nasdfasdfa23-Nov-03 12:24
bnn3nasdfasdfa23-Nov-03 12:24 
GeneralRe: Disappearing images Pin
Killen23-Nov-03 21:38
Killen23-Nov-03 21:38 
GeneralVisual C++ 6.0 and backup files Pin
Chris Hills23-Nov-03 1:44
Chris Hills23-Nov-03 1:44 
GeneralRe: Visual C++ 6.0 and backup files Pin
Stefan Pedersen23-Nov-03 5:31
Stefan Pedersen23-Nov-03 5:31 
GeneralRe: Visual C++ 6.0 and backup files Pin
Bo Hunter23-Nov-03 8:57
Bo Hunter23-Nov-03 8:57 

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.