I have seen in the documentation the 'keyword' values for the flags, but is there some where that shows what their values are.
I have lots of programs that have stuff like
OPENWINDOW w1,0,0,desW,desH,0x80C80080,0," Dots Game",&w1_handler
CONTROL w1,@BUTTON,"Exit",360,10,50,25,0x50000000,W1_B1
control w1,@STATIC,"Player 1",100,10,55,20,@CTEDITCENTER,W1_S1
control w1,@STATIC,"Player 2",180,10,55,20,@CTEDITCENTER,W1_S2
CONTROL w1,@EDIT,"0",100,30,45,20,0x50800000,W1_E1
CONTROL w1,@EDIT,"0",180,30,45,20,0x50800000,W1_E2
CONTROL w1,@EDIT,"Player 1",250,30,75,20,0x50800000,W1_E3
I would be interested in knowing what the '0x80C80080' translates to like @MINBOX|@MAXBOX|@SIZE.
I am planning on converting all of them over to the @MINBOX format, but I need to know what the numbers translate to.
Thanks,
Bill
The value of each @MINBOX type constant can be found in the *.incc files in the /bin folder.
And in some cases you'll have to do some binary math
'0x80C8008D' =
80000000
800000
400000
80000
80
8
4
1
FYI
IWB+ has the controls and uses the text versions of the flags when it generates its code.
I always forget about the INCC files. Probably due to the fact that I don't do many includes.
Will go thru the files and see what I can find.
Thank you,
Bill
One of the users of MiniBASIC sent me the attached file some years ago. It has come in handy many times.
Egil