Why does CreateToolbar have position parameters?

BlitzMax Forums/MaxGUI Module/Why does CreateToolbar have position parameters?

Gabriel(Posted 2007) [#1]
Excuse the noob-esque qualities of the question, but I've never needed or wanted toolbars before, and now I do. Why am I asked for X and Y positions when I create a toolbar? It gets created at 0,0 regardless of the x and y values I provide, so why ask?

I assume the workaround is to put toolbars in a panel, and that's fine, but it seems silly to ask for an x and y position if they're ignored. Or perhaps I'm just plain missing something here.

EDIT: Come to think of it, the width and height parameters seem to get ignored to. If I set the width and height to 0 and 0 respectively, it's still the full size of the pixmap.


Grisu(Posted 2007) [#2]
+1

I had that question as well, but was too shy to ask... ;)