PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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.
Note: ceWinEnum can be used only if a connection is established between the current computer and the Mobile device (ceConnect).
Versions 20 and later
Note: this function is available in 64-bit mode.
New in version 20
Note: this function is available in 64-bit mode.
Note: this function is available in 64-bit mode.
Example
// 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:
ceChildSearches 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 whether an error was generated by this function, use ErrorInfo associated with the errMessage constant.
Component : wd240ce.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment