Re: Toolbar problem - Giving a try to window commands AGAIN
Posted: Sun Jun 24, 2012 1:29 pm
Like some Visual Basic forms you load a lots of gadgets and you see them slowly appear on the screen. Yes I had always this problem when I was programmed with M$ Visual Basic 6 in the past , when my program had a lots of gadgets , I saw them appear one by one and the effect wasn't so nice , complete amateur. Always I was wondered how all of these applications (Photoshops , Offices , and any kinds) draws everything at once.
I like this trick and I will use it , is not so pointless then.
About enumerations above , I have some residues from DarkBasic , in DarkBasic when I had one new image the imageID was 0 and when I had one new sprite the spriteID was 0 too and when I had a new music the musicID was 0 too , because all of these was different objects (For DarkBasic) and my gadgets here I thought was working with the same way.
The #MENU is in the menu kind so it will take 0 number and I thought the #REBAR which is another object but different of the kind and with #TOOLBAR which yet another object but different of the kind then will start with 0.
10 menus from 0-9
10 toolbars from 0-9 too
and 10 rebars from 0-9 too
I was wrong 10 Menus starts from 0 to 9
10 toolbars starts from 10 to 19
and 10 rebars starts from 20 to 29.
I like this trick and I will use it , is not so pointless then.
About enumerations above , I have some residues from DarkBasic , in DarkBasic when I had one new image the imageID was 0 and when I had one new sprite the spriteID was 0 too and when I had a new music the musicID was 0 too , because all of these was different objects (For DarkBasic) and my gadgets here I thought was working with the same way.
The #MENU is in the menu kind so it will take 0 number and I thought the #REBAR which is another object but different of the kind and with #TOOLBAR which yet another object but different of the kind then will start with 0.
10 menus from 0-9
10 toolbars from 0-9 too
and 10 rebars from 0-9 too
I was wrong 10 Menus starts from 0 to 9
10 toolbars starts from 10 to 19
and 10 rebars starts from 20 to 29.