It seems as though toolbar image strips must have graphics with the same width and height. Is this correct? When I create a toolbar using an image strip with 'buttons' that are 20 x 25, it creates toolbar buttons that are 25 x 25. Which is odd, because I am supposedly supplying the cell size to the CreateToolar() function (what's the point if x and y have to be the same?).
Also, Is it possible to have the toolbar appear at the bottom of the window? No matter what numbers I put in the x,y fields it appears at the client 0,0 position.
Example:
Canvas can be moved around, but toolbar always appears at the 0,0 position within the window.
Any ideas?
Russell
Also, Is it possible to have the toolbar appear at the bottom of the window? No matter what numbers I put in the x,y fields it appears at the client 0,0 position.
Example:
Global wndMain:TGadget = CreateWindow(sMainTitle,20,20,WIDTH,HEIGHT,Null,WINDOW_TITLEBAR | WINDOW_CLIENTCOORDS) Global cvsScreen:TGadget = CreateCanvas(0,0,WIDTH,HEIGHT - 50,wndMain) Global tlbIcons:TGadget = CreateToolBar("EdBlocks2525.png",0,550,25,25,wndMain)
Canvas can be moved around, but toolbar always appears at the 0,0 position within the window.
Any ideas?
Russell