Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar resizing
Message
From
19/07/2002 10:52:53
 
 
To
18/07/2002 07:29:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00679917
Message ID:
00680460
Views:
24
>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!

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform