>Does anyone know how to lock a toolbar button in the down position. I would like to modify my toolbar class to allow certain buttons to indicate they have been pressed by staying in the down position to indicate a mode selection. I want them to behave like the Bold, Italic, Underline buttons in Word.
>
>I thought I could accomplish this by playing with the border properties or special effect properties of the command button. But I can't find any properties that will do what I want. The only thing I can think of is to change the picture property of the button but that doesn't give me the effect I want.
Steven,
Take a look at the 3D ActiveX group push button control. Unlike the normal command group, it allows you to specify a bitmap for each of the various button states. The easiest way I know to use this involves the Picclip control.
hth,
George
George
Ubi caritas et amor, deus ibi est