Core Function DoEvents
From Sputnik Wiki
(Difference between revisions)
(→Example) |
|||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
− | Keep GUI | + | Keep GUI windows active by dispatching all messages in the queue. |
Works similar to Visual Basic 6.0's DoEvents(). | Works similar to Visual Basic 6.0's DoEvents(). | ||
Line 15: | Line 15: | ||
=== Return Value === | === Return Value === | ||
− | + | None. | |
− | + | ||
− | + | ||
=== Remarks === | === Remarks === |
Revision as of 01:49, 26 August 2013
DoEvents( )
Contents |
Description
Keep GUI windows active by dispatching all messages in the queue.
Works similar to Visual Basic 6.0's DoEvents().
Parameters
None
Return Value
None.
Remarks
Its worth noting the thread that created the GUI objects will need to be the one sending the DoEvents() for its objects.
Example
// Create the MDI GUI $GUI = GUICreate("Window", "GUI", 800, 600); // Show the MDI GUI GUILoad( $GUI ); // Keep the GUI running as long as long as the window is open While ( GUIStatus( $GUI ) ) DoEvents( );