OwnerDraw menu problems on Win95 
Author Message
 OwnerDraw menu problems on Win95

I'm wrote script:
  ...
  ModifyMenu (mHigh, nItem, MF_BYPOSITION | MF_OWNERDRAW, itemID,
(LPSTR)0);
  TrackPopupMenu (mHigh, 0, Pointer.x, Pointer.y, 0, hWnd, 0L);

I'm mapped WM_MEASUREITEM and WM_DRAWITEM for ODT_MENU.
In DrawItem event I'm call DrawIconEx(...) and DrawText(...) functions.

On WinNT, Win98 my script work fine, but under Win95 my menu items

I'm use VC5.0 without MFC.

Does anyone know what the correct way to resolve this problem ?
Thanks for any comments.
        Andrew.



Fri, 17 Aug 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Please help me with a ownerdraw menu problem!

2. OwnerDrawn Menu font problem

3. ownerdrawn menu problems

4. OWNERDRAWN MENU PROBLEM

5. Ownerdraw context menu fails.

6. WTL - OwnerDrawn menus

7. Colors come up wrong in OwnerDraw Menu

8. Ownerdrawn Menu

9. Drawing the check mark etc for OwnerDraw menu

10. OwnerDraw menus

11. Help with ownerdraw menu!

12. ownerdrawn menu

 

 
Powered by phpBB® Forum Software