ownerdraw on menu

This forum is for eXpress++ general support.
Post Reply
Message
Author
omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

ownerdraw on menu

#1 Post by omni »

roger,

Hope I make sense on this. A person here asked me this.

When using ownerdraw and assign the item:

SUBBARCOLOR &QQBARF,&QQBARB ; (those are our assigned colors)

Where we define the foreground (font color) and background.

The selection on the menu that is hilited is the same as the background on the subbarcolor. Is that something that is fixed.
We have a shade of yellow as the background and black as foreground on the subbarcolor, when the menu option is hilited/selected the color is always yellow on black, or whatever the background is assigned to on subbarcolor. (looks fine and has for many years)
So, if we go to black background with yellow foreground on the subbarcolor it is then black on black on the selection..obviously does not work.
Just want to confirm that it is fixed that way and no method to override on the selection color on the menu items when using ownerdraw. Does not impact anything else, just what the user is hiliting/selecting.

Hope that the question is understandable.

Thanks

Fred
Omni

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: ownerdraw on menu

#2 Post by rdonnay »

I guess that had never been tested.

I'm reluctant to make changes to the code after so many years of nobody reporting problems with this. If I change how it works, then I may break a lot of applications.
The eXpress train is coming - and it has more cars.

omni
Posts: 531
Joined: Thu Jan 28, 2010 9:34 am

Re: ownerdraw on menu

#3 Post by omni »

No, not a problem. Just making sure I was not missing out on a known command or not.
Thanks

Post Reply