|
|
|
|
ceWinEnum (Function) In french: ceFenEnumère Used to enumerate the Windows windows currently opened on the Mobile Device (Pocket PC). In a loop, this function can be used to enumerate all the opened Windows windows. Remark: ceWinEnum can be used only if a connection is established between the current computer and the Mobile device ( ceConnect). Remark: this function is available in 64-bit mode.
// Enumerate the opened Windows windows ResHandle is int = ceWinEnum() // Browse all the windows WHILE ResHandle <> Null // Add the title of the window in a List Box control ListAdd(LIST_List1, ceWinTitle(ResHandle)) // Go to the next window ResHandle = ceWinEnum(ResHandle) END
Syntax
<Result> = ceWinEnum([<Handle> [, <Enumeration Mode>]])
<Result>: Integer - Handle of the window found,
- NULL constant if no window was found.
<Handle>: Optional integer If this parameter:- corresponds to the handle of the window that was previously found, the next window or the child window of the window found will be sought.
- is not specified, the first opened window will be sought.
<Enumeration Mode>: Optional Integer constant Type of the requested window: | | ceChild | Searches for the child window of the window found. | ceNext (Default value) | Searches for the window following the window found. |
Remarks Caution: ceWinEnum returns no error code. To find out if this function has generated an error, use function ErrorInfo with constant errMessage.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|