
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.