There are some icon changer programs which do this, but sometimes icon changers will mess up all your applications icons.
I think, when you compile your program, PureBasic changes the main icon of your application. I don't thing there is a problem about the .exe file icon.
I have uploaded what I have created so far , as I saw , and I have already download all example from the first day I used this ProGui library and I am reading and the help manual , but there are a lots of things that I don't understand even with the help , because there are a lots of fundumental ...
If you are speaking about the Buttons not toolbars and menus , so far I don't found how to capture the button events. And now I would ask about the button events , the menu events are ok.
This kind of code is not worked as worked with menus
EventGadgets returns numbers of what gadget I have action to. EventMenu returns numbers of what items on menus I have action to. And EventWindow returns the window number which the event occurs.
The examples are very huge and complex to understand them and the documentation is not helpful at all. If the community wasn't exists and you were total newbie , you can't do nothing.
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 ...
The problem was fixed using Enumerations for each gadget , each gadget is unique and the enumeration increase the order of the list of variables inside the enumeration nest by one. Is similar to say
#MENU_0=0 #REBAR_0=1 #TOOLBAR_0=2
As I understood , if you have 0 in all gadget creation ...
If I will use a structure for images the menu with toolbar will not overlap?
As I understand all the game is on the CreateRebar function , if I copy and paste your programm is pointless because I can't understand what all means above.