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 - <b>@ id ... button</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
@ ID ... BUTTON
Use a (push) button in a dialog
------------------------------------------------------------------------------

Syntax
#include "windows.ch"
#include "topclass.ch"   --or--   #define  NO_C4WCLASS
#include "commands.ch"
@ ID  <nId>  BUTTON | PUSHBUTTON
     [ <clauses> ]

Arguments
See the generic @ ID ... <ControlType> command for details of
the <clauses> and/or parameters allowed.  The most common
clause is <cCmd> (or, less often, ACTION).  For a dynamic
dialog, you usually specify the TEXT, AT, and SIZE clauses as
well as <cCmd>.

Description
This command can be used to put a button in a dialog.

See the generic @ ID ... <ControlType> command for other
information.

Example
// This triggers the dialog's :Save() method if pressed:
@ ID  IDD_SAVE  BUTTON  Save


See Also: @ ID ...

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