Home Notices Documents Classes Download Others Rice
Classes  >  winframe  >  UserData(int)
winframe class : UserData(int) setter

Description

Sets the numerical value to the window.

Syntax

winframeInstance.UserData = userdata

Arguments

ClassNameDescription
intuserdataAn 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

Copyright © Rice All rights reserved.