13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Message functionsMessage functions read and process Windows messages in anapplication's queue. Messages represent a variety of input to aWindows application. A message is a data structure that containsa message identifier and message parameters. The content of theparameters varies with the message type. The following listbriefly describes each function:FunctionCallWindowProcDispatchMessageGetMessageGetMessagePosGetMessageTimeInSendMessagePeekMessagePostAppMessagePostMessagePostQuitMessageReplyMessageSend MessageSetMessageQueueTranslateAcceleratorTranslateMDISysAccelTranslateMessageWaitMessageWinMainDescriptionPasses message information to the specifiedfunction.Passes a message to a window function ofthe specified window.Retrieves a message from the specifiedrange of messages.Returns the position of the mouse at thetime the last message was retrieved.Returns the time at which the last messagewas retrieved.Determines whether the current windowfunction is processing a message passed toit through a call to the Send Messagefunction.Checks the application queue and placesthe message appropriately.Posts a message to the application.Places a message in the application queue.Posts a WM_ QUIT message to theapplication.Replies to a message.Sends a message to a window or windows.Creates a new message queue of a differentsize.Processes keyboard accelerators for menucommands.Processes multiple document interface(MDI) child window commandaccelera tors.Translates virtual key-stroke messages intocharacter messages.Yields control to other applications.Serves as an entry point for execution of aWindows application.14Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!