Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mscomctl.ocx and XP themes
Message
From
30/01/2004 15:06:20
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00862044
Message ID:
00872500
Views:
15
Hi Terry!

First I must answer to your questions. VFP toolbar object can be docked in _SCREEN or in active top-level form depending on ShowWindow property value. However the top-level form must be shown and activated before you create toolbar. This is not good and may cause form flicker or just slower initialization. You also cannot dock toolbar to form which is not top level.

On the other hand, I need to show marks and pictures in dropdown menus. Mscomctl.ocx does not allows this for me. I was thinking during month about this and I even decided to create my own container-based toolbar class, but...
Today I found the way to drop VFP menu in ButtonDropDown event instead of Toolbar's buttonmenu. Waw! Now I can use all features of VFP menus with OCX toolbar, even multilevel or data-based menus, mover, scrolling, etc.
Let me know if you need additional info and code samples. I have no time to prepare and publish such class, but maybe you can update your published example.
It is clear that ">>" button (to show menu with button that didn't fit in toolbar width) can be added to Mscomctl.ocx toolbar. It will be not compatible with Align property other than zero, but who cares? I will make it next week.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform