Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Checkbox / How do I get the width/height of it? Pin
Stephen Hewitt4-Mar-06 21:24
Stephen Hewitt4-Mar-06 21:24 
GeneralRe: Checkbox / How do I get the width/height of it? Pin
Sebastian Pipping4-Mar-06 21:31
Sebastian Pipping4-Mar-06 21:31 
GeneralRe: Checkbox / How do I get the width/height of it? Pin
Sebastian Pipping4-Mar-06 21:46
Sebastian Pipping4-Mar-06 21:46 
GeneralRe: Checkbox / How do I get the width/height of it? Pin
Stephen Hewitt4-Mar-06 21:55
Stephen Hewitt4-Mar-06 21:55 
AnswerRe: Checkbox / How do I get the width/height of it? Pin
janisha5-Mar-06 17:21
janisha5-Mar-06 17:21 
GeneralRe: Checkbox / How do I get the width/height of it? Pin
Sebastian Pipping5-Mar-06 19:23
Sebastian Pipping5-Mar-06 19:23 
QuestionWhat is modal loop? Pin
superSYNC4-Mar-06 18:00
superSYNC4-Mar-06 18:00 
AnswerRe: What is modal loop? Pin
Stephen Hewitt4-Mar-06 19:36
Stephen Hewitt4-Mar-06 19:36 
Running a message pump means a loop something like the following:
MSG m;
while ( GetMessage(&m, NULL, 0, 0) )
{
     DispatchMessage(&m);
}


There are many variations but the code above captures the essence of every message pump.

A modal window is window that has to be dismissed before any other windows in the app can be used. This is normally done by creating a top level owned window, disabling the owner and then running a message loop. This is what people mean when they talk about a modal loop. Note the message pump need not be explicit. For example the DialogBox family of functions run a message pump. It is important to remember that, taking the DialogBox as an example, while the modal dialog is displayed we're inside the DialogBox function and when it returns the modal box has been destroyed.


Steve
GeneralHi,Steve Pin
superSYNC4-Mar-06 22:52
superSYNC4-Mar-06 22:52 
QuestionWhat does " Subclassing the window does not work for messages set between processes" mean? Pin
superSYNC4-Mar-06 16:50
superSYNC4-Mar-06 16:50 
AnswerRe: What does " Subclassing the window does not work for messages set between processes" mean? Pin
Stephen Hewitt4-Mar-06 19:40
Stephen Hewitt4-Mar-06 19:40 
AnswerRe: What does " Subclassing the window does not work for messages set between processes" mean? Pin
Gary R. Wheeler5-Mar-06 2:54
Gary R. Wheeler5-Mar-06 2:54 
QuestionSaving File Pin
NPL Solutions4-Mar-06 16:27
NPL Solutions4-Mar-06 16:27 
AnswerRe: Saving File Pin
Michael Dunn5-Mar-06 6:31
sitebuilderMichael Dunn5-Mar-06 6:31 
GeneralRe: Saving File Pin
NPL Solutions5-Mar-06 13:29
NPL Solutions5-Mar-06 13:29 
GeneralRe: Saving File Pin
John R. Shaw5-Mar-06 15:15
John R. Shaw5-Mar-06 15:15 
GeneralRe: Saving File Pin
NPL Solutions6-Mar-06 6:37
NPL Solutions6-Mar-06 6:37 
Questiontype convertion - ulong to uint Pin
Sam 20064-Mar-06 13:21
Sam 20064-Mar-06 13:21 
AnswerRe: type convertion - ulong to uint Pin
Saurabh.Garg4-Mar-06 13:50
Saurabh.Garg4-Mar-06 13:50 
GeneralRe: type convertion - ulong to uint Pin
John R. Shaw4-Mar-06 15:07
John R. Shaw4-Mar-06 15:07 
GeneralRe: type convertion - ulong to uint Pin
Saurabh.Garg4-Mar-06 17:26
Saurabh.Garg4-Mar-06 17:26 
AnswerRe: type convertion - ulong to uint Pin
Stephen Hewitt4-Mar-06 19:47
Stephen Hewitt4-Mar-06 19:47 
GeneralRe: type convertion - ulong to uint Pin
Tim Smith5-Mar-06 8:55
Tim Smith5-Mar-06 8:55 
GeneralRe: type convertion - ulong to uint Pin
Stephen Hewitt5-Mar-06 11:25
Stephen Hewitt5-Mar-06 11:25 
GeneralRe: type convertion - ulong to uint Pin
John R. Shaw5-Mar-06 15:42
John R. Shaw5-Mar-06 15:42 

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.