T O P I C R E V I E W |
catweazle |
Posted - 10 Jul 2012 : 17:36:26 I use the ctlUTF8Menu together with the ctlUNIStyler. By code I set the MenuBackColor for the menu, which works - except for the top level menu items. I tried to set the backcolor additionally by using the API DrawMenuBar. The color of the empty space in the menu bar changed! but not the backcolor of the top level items. Then I eliminated the ctlUTF8Menu and !surprise! the API changed the backcolor of the complete menu bar. Also any code in the ctlUTF8Menu_OnOwnerDraw event did not take effect. The SelectorBackColor instead works on all menu levels!
Is there a bug in ctlUTF8Menu and a known work-around Thanx for any help! A VB6-programmer |
1 L A T E S T R E P L I E S (Newest First) |
s.dav |
Posted - 11 Jul 2012 : 08:54:29 cat,
the ctlUTF8Menu uses the Windows system colors for the top level items and I don't know if it is a good operation to change the top item menu color using an API Maybe you can send me a sample and I'll make some tests. |
|
|