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>selectwindow()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SelectWindow()
Select or determine the current window
------------------------------------------------------------------------------

Syntax
SelectWindow( [ <hWnd> ] )   -->   hOldWnd

Arguments
<hWnd> is the handle of the new window.  If this parameter is
NIL the current window stays selected.

Returns
The handle of the old (or current) window is returned as a non-
zero integer.  If there is/was no current window, zero (0) is
returned.

Description
This function provides a way for an application to determine
the current window handle, and/or to change the selected
window.

Example
if  SelectWindow() == 0
     // no current window
     quit
endif


See Also: CreateWindow() DestroyWindow()

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