Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

WDialog:HandleMessage() Method
Handle/dispatch messages for a dialog
------------------------------------------------------------------------------

Syntax
<oWnd>:HandleMessage( <nMsg>, <nwParam>, <nlParam> )   -->   nRet

Arguments
<nMsg> is the message to be handled (one of the WM_* values
defined in WINDOWS.CH).

<nwParam> is an integer whose value depends on <nMsg>.

<nlParam> is an integer whose value depends on <nMsg>.

Returns
An integer, which should be returned to the caller.

Description
This method provides the centralised message handling for a
message sent to a dialog, generally by invoking a method with
a name derived from the name of the message, such as
OnDrawItem() for WM_DRAWITEM.  In a few cases, the message is
handled internally instead or as well.  Any of the OnXXX()
can return an integer (usually one) to return to Windows.
Otherwise, this method invokes the DefaultMessage() method to
handle the message, and returns its return value.

This method is used by the Application Classes, and is not
usually called directly by your code.

Example


See Also: WDialog:DefaultMessage()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson