Click here to Skip to main content
15,914,165 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Winocc.cpp Pin
David Crow19-May-05 5:35
David Crow19-May-05 5:35 
GeneralRe: Winocc.cpp Pin
Watertreader22-May-05 9:28
Watertreader22-May-05 9:28 
GeneralCall Java function from C++ DLL Pin
xueshunnai18-May-05 7:31
xueshunnai18-May-05 7:31 
GeneralInvalidating Proper 'Screen' Area Pin
Blake Miller18-May-05 7:02
Blake Miller18-May-05 7:02 
GeneralRe: Invalidating Proper 'Screen' Area Pin
David Crow18-May-05 8:22
David Crow18-May-05 8:22 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake Miller18-May-05 8:29
Blake Miller18-May-05 8:29 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Ravi Bhavnani18-May-05 8:23
professionalRavi Bhavnani18-May-05 8:23 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake Miller18-May-05 8:36
Blake Miller18-May-05 8:36 
I am figuring by the time I calculate all the windows possibly affected, get their DC, set clip regions, invalidate clip regions, etc. I might as well repaint the entire screen?

I only have a rectangle covering 'part' of the entire screen. I don't know all the windows that are necessarily touching this rectangle.

I tried invalidating the area of the desktop window, but other windows on TOP of the desktop window in that same area would not necessarily repaint.

Then I used WindowFromPoint on the four corners, and invalidated the area of each window where the rectangle was located, but that would not necessarily erase the caption areas, menus, or other toolbars and such in those same windows.

I suppose I could get the DC of each of these windows and see if the clipping functions will help or not. Most of the invalidation documentation always refers to the 'client area' of the widnow, and I have found very little referring to the 'non-client area'.

GeneralRe: Invalidating Proper 'Screen' Area Pin
Ravi Bhavnani18-May-05 8:45
professionalRavi Bhavnani18-May-05 8:45 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake Miller18-May-05 9:32
Blake Miller18-May-05 9:32 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Ravi Bhavnani18-May-05 10:00
professionalRavi Bhavnani18-May-05 10:00 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake Miller18-May-05 11:12
Blake Miller18-May-05 11:12 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Ravi Bhavnani18-May-05 11:17
professionalRavi Bhavnani18-May-05 11:17 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake Miller18-May-05 11:33
Blake Miller18-May-05 11:33 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Jörgen Sigvardsson18-May-05 12:39
Jörgen Sigvardsson18-May-05 12:39 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake V. Miller18-May-05 18:41
Blake V. Miller18-May-05 18:41 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Jörgen Sigvardsson18-May-05 20:15
Jörgen Sigvardsson18-May-05 20:15 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake Miller20-May-05 9:13
Blake Miller20-May-05 9:13 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Jörgen Sigvardsson20-May-05 9:17
Jörgen Sigvardsson20-May-05 9:17 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake Miller20-May-05 9:38
Blake Miller20-May-05 9:38 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Jörgen Sigvardsson20-May-05 9:50
Jörgen Sigvardsson20-May-05 9:50 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake V. Miller21-May-05 18:31
Blake V. Miller21-May-05 18:31 
GeneralRe: Invalidating Proper 'Screen' Area Pin
doublebug21-May-05 2:40
doublebug21-May-05 2:40 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Blake V. Miller21-May-05 18:48
Blake V. Miller21-May-05 18:48 
GeneralRe: Invalidating Proper 'Screen' Area Pin
Jörgen Sigvardsson18-May-05 12:37
Jörgen Sigvardsson18-May-05 12:37 

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.