
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - handle commands sent to dialog box
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Handle commands sent to dialog box
--------------------------------------------------------------------------------
Syntax: TDialog():Command( <nWParam>, <nLParam> ) --> Nil
Parameters:
<nWParam> This parameter actually holds two pieces of information
which have the following meaning:
<nCode> = nHiWord(nWParam). This value specifies the
notification code if the message
is from a control. If the message
is from an accelerator, this
parameter is 1. If the message
is from a menu, this parameter is
0.
nID = nLoWord(wParam); This part represents the
identifier of either an item, a
control or an accelerator.
<nLParam> This value contains the handle of the control sending the
message if the message is from a control. Otherwise, this
parameter is NULL.
Returns:
Nil
Comments:
The Command() method is automatically called (by the eventhandler) when
processing a WM_COMMAND WinApi message. If a message is processed it
should return 0.
Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson