winframe class : UserData(int) setter
Description
Sets the numerical value to the window.
Syntax
winframeInstance.UserData = value
Assigned value
| Class | Description |
| int | An any number. |
Return value
None
Sample code
| 1: | wfpool wfp; |
| 2: | winframe winframeIns = wfp.GetActive(); // Gets a window that has focus. |
| 3: | winframeIns.UserData = 10; |
Notes
It writes a value directly into the expanded window memory using Win32api.
Caution : It may overwrite the value written by other applications.
Links for reference
None


