wfpool class : ExistByUserData(int) method
Description
Gets a value indicating whether a top-level window with the specified numeric value exists.
Syntax
wfpoolInstance.ExistByUserData(int userdata)
Arguments
Class | Name | Description |
int | userdata | A numeric value. |
Return value
Class | Description |
bool | A value that indicates whether it exists. |
Sample code
1: | wfpool wfp; |
2: | bool exist = wfp.ExistByUserData(10); |
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