winframe class : UserData getter
Gets a numerical value that has been set in a window.
|int||A a numerical value that has been set in a window.|
winframe winframeIns = wfp.GetActive(); // Gets a window that has focus.
int userdata = winframeIns.UserData;
This getter gets the numeric value from the extended window memory by using Win32api. This numeric value is the value that has written by the UserData setter.
It returns 0 If a numerical value have not been written.
Caution: Other applications may be overwriting the written values.
Links for reference