i would like to make a window that has a vertical toolbar control, which has bigger buttons than usual (for example 64x64). I tried the instructions on msdn, but it didn't work, the buttons weren't big enough so the images wouldn't fit in.
Does anyone know a way of doing this right?
thanks in advance.
Right, just setup the toolbar's buttons size via TB_SETBITMAPSIZE, and be sure that the WM_SIZE or TB_AUTOSIZE messages arrives to the toolbar control.
You can also send the toolbar control messages to set button size... I typically do this to create a bit of a border and spacing around the buttons... eg. With 24 x 24 icons I will set the buttons to 30 x 36.
Originally Posted by Niara
TB_SETBUTTONSIZE Message (Windows)