DC grabbing
I know theres a function for this, how do I get the dc for every window open? I want to take the image in it (including menus)? I guessed you have to get the hwnd using some kind of enum function. I don''t have the SDK reference installed right now and I don''t want to go to the MSDN site.
I think GetDC(NULL) with give you the HDC for the whole screen. Could be wrong though.
Yeah, but I don''t think it gets each individual window, so if it''s overlapping I don''t know what''s under it.
EnumWindows()
EnumChildWindows()
is what you''re looking for
menu''s don''t have a HWND though...
EnumChildWindows()
is what you''re looking for
menu''s don''t have a HWND though...
June 11, 2001 01:50 PM
Thanks. By menus I meant each hwnd can have no more than one menu list, right? I''m just trying to get a screenshot of all windows at once, including overlapped parts.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement