How to remove context menu created from taskbar ?
-
I create context menu, receiving OnRButtonDown from taskbar. But how to detect that user clicked on someone else place of desktop ? - To destroy menu. Or is it possible to create menu that auto-destroying, when loosed focus ? thanks. ______________ I found solution in MSDN search file sample: CQA0211.exe With installing hooks, and subclassing system windows... Does it the right way to implement hiding menu ? (seems not adequate)
-
I create context menu, receiving OnRButtonDown from taskbar. But how to detect that user clicked on someone else place of desktop ? - To destroy menu. Or is it possible to create menu that auto-destroying, when loosed focus ? thanks. ______________ I found solution in MSDN search file sample: CQA0211.exe With installing hooks, and subclassing system windows... Does it the right way to implement hiding menu ? (seems not adequate)
-
Ru using TrackpopUpMenu() function call or u r using u r own customised function? If u r using TrackPopupMenu() call once u chech hwnd parameter.