Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: new control icon into vc++ toobox Pin
David Crow11-Jul-07 2:29
David Crow11-Jul-07 2:29 
QuestionHyperTerminal script Pin
stevelizardi7-Jul-07 20:18
stevelizardi7-Jul-07 20:18 
QuestionInterprocess commmunication Pin
tom groezer7-Jul-07 11:41
tom groezer7-Jul-07 11:41 
AnswerRe: Interprocess commmunication Pin
Mark Salsbery7-Jul-07 12:10
Mark Salsbery7-Jul-07 12:10 
QuestionNotepad Pin
tom groezer7-Jul-07 11:37
tom groezer7-Jul-07 11:37 
AnswerRe: Notepad Pin
David Crow9-Jul-07 3:47
David Crow9-Jul-07 3:47 
QuestionMessage queue Pin
tom groezer7-Jul-07 11:35
tom groezer7-Jul-07 11:35 
AnswerRe: Message loop Pin
Mark Salsbery7-Jul-07 11:56
Mark Salsbery7-Jul-07 11:56 
tom groezer wrote:
Is there a way to set a size for message loop?


loops have a size? Smile | :)

tom groezer wrote:
is there any performance consideration to be made while selecting PeekMessage or GetMessage.


In a loop, yes. GetMessage() will wait for posted messages. PeekMessage() will not.
Looping calling PeekMessage() when no messages are available in the queue will use CPU time
needlessly.

Mark




This episode brought to you by the letter N

AnswerRe: Message queue Pin
Blake Miller9-Jul-07 11:59
Blake Miller9-Jul-07 11:59 
QuestionCArchive Pin
tom groezer7-Jul-07 11:34
tom groezer7-Jul-07 11:34 
AnswerRe: CArchive Pin
Mark Salsbery7-Jul-07 11:54
Mark Salsbery7-Jul-07 11:54 
QuestionConsole App Flicker Pin
JimmyRopes7-Jul-07 10:07
professionalJimmyRopes7-Jul-07 10:07 
AnswerRe: Console App Flicker Pin
Matthew Faithfull7-Jul-07 10:15
Matthew Faithfull7-Jul-07 10:15 
GeneralRe: Console App Flicker Pin
JimmyRopes7-Jul-07 16:16
professionalJimmyRopes7-Jul-07 16:16 
GeneralRe: Console App Flicker Pin
Mark Salsbery8-Jul-07 7:50
Mark Salsbery8-Jul-07 7:50 
GeneralRe: Console App Flicker Pin
JimmyRopes8-Jul-07 18:18
professionalJimmyRopes8-Jul-07 18:18 
QuestionFunction overloading Pin
tom groezer7-Jul-07 5:18
tom groezer7-Jul-07 5:18 
AnswerRe: Function overloading Pin
mid=57417-Jul-07 5:51
mid=57417-Jul-07 5:51 
AnswerRe: Function overloading Pin
Matthew Faithfull7-Jul-07 5:52
Matthew Faithfull7-Jul-07 5:52 
AnswerRe: Function overloading Pin
pagen_hd7-Jul-07 20:49
pagen_hd7-Jul-07 20:49 
AnswerRe: Function overloading Pin
Stephen Hewitt8-Jul-07 14:54
Stephen Hewitt8-Jul-07 14:54 
Questionenglish word for base-4 number Pin
includeh107-Jul-07 5:06
includeh107-Jul-07 5:06 
AnswerRe: english word for base-4 number [modified] Pin
Tony Hill7-Jul-07 5:29
professionalTony Hill7-Jul-07 5:29 
AnswerRe: english word for base-4 number Pin
Vivi Chellappa7-Jul-07 10:40
professionalVivi Chellappa7-Jul-07 10:40 
GeneralRe: english word for base-4 number Pin
Mark Salsbery7-Jul-07 11:08
Mark Salsbery7-Jul-07 11:08 

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.