Click here to Skip to main content
15,909,898 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Callbacks Pin
Phil Speller22-Sep-03 22:14
Phil Speller22-Sep-03 22:14 
GeneralRe: Callbacks Pin
halblonious23-Sep-03 11:35
halblonious23-Sep-03 11:35 
GeneralRe: Callbacks Pin
Member 42425922-Sep-03 22:14
Member 42425922-Sep-03 22:14 
GeneralRe: Callbacks Pin
halblonious23-Sep-03 11:37
halblonious23-Sep-03 11:37 
GeneralRe: Callbacks Pin
David Crow23-Sep-03 3:07
David Crow23-Sep-03 3:07 
GeneralRe: Callbacks Pin
halblonious23-Sep-03 11:36
halblonious23-Sep-03 11:36 
Questionhow i can get the WM_POWERBROADCAST Pin
vancuver22-Sep-03 16:44
vancuver22-Sep-03 16:44 
AnswerRe: how i can get the WM_POWERBROADCAST Pin
Mike Dimmick23-Sep-03 1:01
Mike Dimmick23-Sep-03 1:01 
This shouldn't be necessary.

You should perform all your painting in response to a WM_PAINT message (for a CDialog-derived class, in your OnPaint handler).

If you need to perform some drawing elsewhere, it's typically better to update your state, then call Invalidate to redraw the whole window, or InvalidateRect to redraw only a portion of the window. Windows will then post a WM_PAINT message to your window (if there is an invalid region) once any higher priority messages have been processed.

You should consider any drawing operations performed at any other time to be temporary.
GeneralDevice Manager source code Pin
Member 40481322-Sep-03 16:32
Member 40481322-Sep-03 16:32 
GeneralRe: Device Manager source code Pin
Alexander M.,27-Sep-03 7:42
Alexander M.,27-Sep-03 7:42 
GeneralCIPAddressCtrl Pin
esepich22-Sep-03 16:21
esepich22-Sep-03 16:21 
GeneralRe: CIPAddressCtrl Pin
David Crow23-Sep-03 3:16
David Crow23-Sep-03 3:16 
QuestionHow to get a Copying Files Dialog in Drag and Drop Pin
Matt Bauer22-Sep-03 15:31
Matt Bauer22-Sep-03 15:31 
AnswerRe: How to get a Copying Files Dialog in Drag and Drop Pin
David Crow23-Sep-03 3:18
David Crow23-Sep-03 3:18 
GeneralRe: How to get a Copying Files Dialog in Drag and Drop Pin
Matt Bauer23-Sep-03 12:33
Matt Bauer23-Sep-03 12:33 
GeneralRe: How to get a Copying Files Dialog in Drag and Drop Pin
David Crow24-Sep-03 2:33
David Crow24-Sep-03 2:33 
QuestionWinAPI call for CPU/memory usage? Pin
gautamcode22-Sep-03 15:27
gautamcode22-Sep-03 15:27 
AnswerRe: WinAPI call for CPU/memory usage? Pin
Matt Bauer22-Sep-03 15:48
Matt Bauer22-Sep-03 15:48 
GeneralRe: WinAPI call for CPU/memory usage? Pin
gautamcode22-Sep-03 16:34
gautamcode22-Sep-03 16:34 
GeneralRe: WinAPI call for CPU/memory usage? Pin
David Crow23-Sep-03 3:21
David Crow23-Sep-03 3:21 
GeneralRe: WinAPI call for CPU/memory usage? Pin
Dudi Avramov23-Sep-03 5:05
Dudi Avramov23-Sep-03 5:05 
GeneralRe: WinAPI call for CPU/memory usage? Pin
David Crow23-Sep-03 5:09
David Crow23-Sep-03 5:09 
GeneralRe: WinAPI call for CPU/memory usage? Pin
Dudi Avramov23-Sep-03 20:18
Dudi Avramov23-Sep-03 20:18 
GeneralRe: WinAPI call for CPU/memory usage? Pin
gautamcode24-Sep-03 17:53
gautamcode24-Sep-03 17:53 
General2002 vs 2003 Link Problems Pin
Jeryth22-Sep-03 12:49
Jeryth22-Sep-03 12:49 

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.