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

ClassNameDescription
intuserdataA numeric value.

Return value

ClassDescription
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

Copyright © Cooker All rights reserved.