wfpool class : GetByUserData(int) method
Description
Gets a list of the top-level windows that have the specified numeric value.
Syntax
wfpoolInstance.GetByUserData(int userdata)
Arguments
Class | Name | Description |
int | userdata | A numeric value. |
Return value
Class | Description |
list{winframe} | A list of the window. |
Sample code
1: | wfpool wfp; |
2: | list{winframe} wflist = wfp.GetByUserData(10); // Gets a window that has the specified userdata. |
Notes
The top-level windows are windows that do not have a parent.
The numeric value means the value that has been set with the UserData setter of the winframe class.
Links for reference
None