WinXDoEvents


WinXDoEvents (hAccel)

Processes events for all windows in the current thread.

Parameter Description
hAccel The handle to a table of keyboad accelerators (also known as keyboard shortcuts). This should be 0 if you don't want to use accelerators.

Returns

$$FALSE on success, $$TRUE on error.

Remarks

This function does not return until the main window is destroyed. You should execute this function after constructing and displaying the main window.

Keyboard accelerators, also known as keyboard shortcuts, are key combinations used to invoke menu commands. See the WinXAddAccelerator for more information on creating an accelerator table.

Examples

'wait for events, don't use accelerators
WinXDoEvents (0)

Related Links

WinXDisplay
WinXAddAccelerator