>Is it possible to make toolbar resize itself like forms?
>
>VFP's toolbars resize themselves only by repositioning controls contained in them. But I want to put only single control inside toolbar and still be
>able to resize it. I know that there are some ActiveX toolbars which behave
>differently but VFP doesn't recognize them very well (e.g other forms cover
>it if moved/maximized).
>
>
>Thanks!
>Yrgo Ringo
Use a always-on-top non-movable form with hidden titlebar area instead of a toolbar to be able to resize it. Use the form resize event to handle resizing of the controls in the "toolbar" form. You should capture the _Screen Resize event (using procedural hook) to resize the "toolbar" form.
HTH
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!