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

C / C++ / MFC

 
GeneralRe: problem with ShellExecute and environment variables Pin
feline_dracoform10-Feb-04 0:50
feline_dracoform10-Feb-04 0:50 
GeneralRe: problem with ShellExecute and environment variables Pin
Luuk Weltevreden10-Feb-04 1:23
Luuk Weltevreden10-Feb-04 1:23 
GeneralRe: problem with ShellExecute and environment variables Pin
feline_dracoform11-Feb-04 0:51
feline_dracoform11-Feb-04 0:51 
GeneralRe: problem with ShellExecute and environment variables Pin
Luuk Weltevreden11-Feb-04 6:14
Luuk Weltevreden11-Feb-04 6:14 
QuestionWindows listbox has a resource error? Pin
Luuk Weltevreden10-Feb-04 0:11
Luuk Weltevreden10-Feb-04 0:11 
AnswerRe: Windows listbox has a resource error? Pin
Anonymous10-Feb-04 8:13
Anonymous10-Feb-04 8:13 
GeneralRe: Windows listbox has a resource error? Pin
Luuk Weltevreden10-Feb-04 8:35
Luuk Weltevreden10-Feb-04 8:35 
GeneralMFC drawing confusion Pin
Madhur Baheti9-Feb-04 23:40
Madhur Baheti9-Feb-04 23:40 
Can someone please clear my confusion about the major function calls related to WM_PAINT and the sequence in which they are called. I want to know when these functions:

OnUpdate
OnInitialUpdate
UpdateAllViews
OnDraw
InvalidateRect

are called - whether before or after WM_PAINT, and in what sequence.

I've read that InvalidatRect just adds the rectangle to the update region, but it seems to me that a call to it also causes the window to be repainted immediately, or in ther words, a WM_PAINT is passed. Is that true?

It would be great if someone can explain me the MFC drawing sequence and procedure in detail. U see, i have just begun with VC and my project is entirely graphics based (OpenGL). So its imperative that i get a good grasp on the drawing mechanism.

Despo for your replys.
Thanks.


GeneralRe: MFC drawing confusion Pin
CodeBrain10-Feb-04 0:44
CodeBrain10-Feb-04 0:44 
GeneralRe: MFC drawing confusion Pin
Mike Dimmick10-Feb-04 1:01
Mike Dimmick10-Feb-04 1:01 
GeneralRegarding Screen changes Pin
santosh k9-Feb-04 23:17
santosh k9-Feb-04 23:17 
GeneralRe: Regarding Screen changes Pin
Luuk Weltevreden10-Feb-04 0:34
Luuk Weltevreden10-Feb-04 0:34 
GeneralRe: Regarding Screen changes Pin
Luuk Weltevreden10-Feb-04 3:52
Luuk Weltevreden10-Feb-04 3:52 
GeneralRegarding Screen changes Pin
santosh k9-Feb-04 23:12
santosh k9-Feb-04 23:12 
GeneralSmall Problem. Pin
Prakash Nadar9-Feb-04 22:26
Prakash Nadar9-Feb-04 22:26 
GeneralRe: Small Problem. Pin
10-Feb-04 1:43
suss10-Feb-04 1:43 
GeneralRe: Small Problem. Pin
Steve S10-Feb-04 1:54
Steve S10-Feb-04 1:54 
GeneralSpreadsheet writing Pin
Ger Hayden9-Feb-04 21:58
Ger Hayden9-Feb-04 21:58 
GeneralRe: Spreadsheet writing Pin
Brian D10-Feb-04 1:46
Brian D10-Feb-04 1:46 
GeneralRe: Spreadsheet writing Pin
David Crow10-Feb-04 3:34
David Crow10-Feb-04 3:34 
GeneralListCtrl Pin
Ger Hayden9-Feb-04 21:57
Ger Hayden9-Feb-04 21:57 
GeneralRe: ListCtrl Pin
David Crow10-Feb-04 3:33
David Crow10-Feb-04 3:33 
GeneralCInternetSession and CHttpConnection. Pin
murali_utr9-Feb-04 20:59
murali_utr9-Feb-04 20:59 
GeneralOverwriting / Deleting of data from file Pin
Kel839-Feb-04 20:42
Kel839-Feb-04 20:42 
GeneralRe: Overwriting / Deleting of data from file Pin
Sebastian Schneider9-Feb-04 22:31
Sebastian Schneider9-Feb-04 22:31 

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.