|
|
|
|
SysSetFocus (Function) In french: SysDonneFocus Sets focus to a window or control. // Set focus to the "Microsoft Word - Sales.DOC" window // This window is not an MDI window ResHandle is system int = SysWinHandle("Microsoft Word - Sales.DOC") ResFocus is system int = SysSetFocus(ResHandle)
Syntax
<Result> = SysSetFocus(<Handle> [, <MDI window>])
<Result>: Integer - Handle of the window (or control) that had focus before the execution of this function.
- NULL constant if there is no previous window (or control) or if the specified window (or control) does not exist.
<Handle>: Integer Handle of the window or control to use. To find out the handle of a window that was not created by WINDEV, use SysWinHandle. To find out the handle of the active window, use SysWinActive. <MDI window>: Optional boolean - True if the specified window is an MDI window,
- False (default value) otherwise.
Remarks - The handle of a window that was not created by WINDEV is returned by SysWinHandle.
- The handle of a WINDEV control or window is returned by Handle.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|