ContextMenu with icons diplayed on right clicking the tray icon
-
Hello all i made an application in which i had to display icons next to menu item and i did it successfully and it works fine in windows 2000, vista, 7 but in case of windows 2003 and Xp, there lies a problem as if in case any tool tip is displayed over my context menu, the menu item over which the tool tip lies that menu item`s icon (Only Icon And Not The Text)gets erased...... Can Anybody Suggest me where exactly the problem lies Any help is highly appreciated Note :: It happens Only In Case Of Win 2003 and Win. Xp
-
Hello all i made an application in which i had to display icons next to menu item and i did it successfully and it works fine in windows 2000, vista, 7 but in case of windows 2003 and Xp, there lies a problem as if in case any tool tip is displayed over my context menu, the menu item over which the tool tip lies that menu item`s icon (Only Icon And Not The Text)gets erased...... Can Anybody Suggest me where exactly the problem lies Any help is highly appreciated Note :: It happens Only In Case Of Win 2003 and Win. Xp
Did you display the popup menu the way it is suggested here[^]? I mean this:
SetForegroundWindow(hDlg);
// Display the menu
TrackPopupMenu( hSubMenu,
TPM_RIGHTBUTTON,
pt.x,
pt.y,
0,
hDlg,
NULL);PostMessage(hDlg, WM_NULL, 0, 0);
I know this seems unrelated to the drawing part but who knows...
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <