Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Other hexagora products
 Programs (Programmi)
 ctlUTF8Menu cannot set color of top level menu

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

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.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000