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

ClassNameDescription
intuserdataA numeric value.

Return value

ClassDescription
boolA 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

Copyright © Cooker All rights reserved.