Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

Talk:WinBinder Manual/wb create control

Limitation Note

You can't set the ID higher then 65536, which is the maximum size of an int in C. If you set the ID of an Control higher then 65536, lets say 65537, it will set the control ID to 1 instead of given value!

Examples

wb_create_control($win,PushButton, 'no' ,10,10,100,20,    65535); // 1 below maximum

The ID of the Button is: 65535

wb_create_control($win,PushButton, 'no' ,10,10,100,20,    65536); // exact maximum value

The ID of the Button is: 0

wb_create_control($win,PushButton, 'no' ,10,10,100,20,    65537); // 1 more then max value

The ID of the Button is: 1

wb_create_control($win,PushButton, 'no' ,10,10,100,20,    65538); // 2 more then max value

The ID of the Button is: 2


--m3nt0r 12:20, 20 March 2006 (EST)


Winbinder Projects