OWNERDRAWN menus revisited

This forum is for eXpress++ general support.
Post Reply
Message
Author
reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

OWNERDRAWN menus revisited

#1 Post by reganc »

A while ago I pointed out that if you use ownerdrawn menus and you show items that are not selectable/enabled, when the item is navigated to using the keyboard the item has no highlight of any kind so you cannot see that the menu item is currently 'in focus'.

Is this a problem at our end or something that Express++ needs a tweak for?

Maybe the correct thing to do would be to adjust the keyboard navigation to skip these disabled items...
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

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

Re: OWNERDRAWN menus revisited

#2 Post by rdonnay »

Here's a fix:

Make the following change in _DCCLASS.PRG, line 4187

Code: Select all

      IF BAnd(aInfo[3], XBP_DRAWSTATE_SELECTED) != 0 // .AND. lEnabled
Then rebuild dclipx.dll by running build19.bat and build19_sl1.bat
The eXpress train is coming - and it has more cars.

Post Reply