You should consult the ProGUI help for a list of all commands that ProGUI supports, as well as how to use its existing commands.
It will also help if you post ProGUI related questions in the ProGUI thread in the Announcements section of the folder.
Remember ProGUI is an external Library, and not all users have purchased a license for it so they do not all have it.
So posting code with ProGUI commands may not get you any help in the main forums or may confuse members who do not use ProGUI.
I suggest you go to the ProGUI thread and post the code for the program you are offering for download, and you might get better help with why it is not working..
But your comment about wanting to query the state of the Toolbar is a little vague so I'm not really sure what you want to do with it. Usually you shouldn't need to query the State of a Toolbar with buttons, as I think states are defined beforehand.
So once more I will suggest you read the ProGUI help file (it comes as PDF or .CHM) and ALSO you download the ProGUI examples from the ProGUI site because they show you how
a lot of these things work. It is included with all ProGUI releases, so it should be in the directory you extracted your ProGUI ZIP/RAR archive to. Or if you still have the ZIP/RAR download the help files will be in there.
Here is a link to the ProGUI thread in Announcement
http://www.purebasic.fr/english/viewtop ... 14&t=36686
Here are the ProGUI Examples that you can find on the ProGUI site
http://www.progui.co.uk/downloads/ProGUI_Examples.zip
edit:
I just want to add one more thing. When you post code snippets because something doesn't work, and you don't understand why. You should explain what you are trying to accomplish, and what your are trying to do with your code. It is usually best to post more than a small section of the code - because that doesn't help us see what you are trying to do. It is best to post the whole program when possible, especially if it is not big because you are just doing a test to figure things out. If we have the whole picture of what you are drawing in your window, and your entire event loop. Then we can help you better. Because then we won't have to write out own code to open our own window and try to figure out what you were doing with the piece of code you posted. Make sense?
It is easier to fix a broken program when you have the whole program.
