Page 1 of 1

OWNERDRAWN menus revisited

Posted: Wed Feb 24, 2010 3:14 am
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...

Re: OWNERDRAWN menus revisited

Posted: Wed Feb 24, 2010 8:04 am
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