MCPcopy Create free account
hub / github.com/bumptop/BumpTop / tryTrackPopupMenu

Function tryTrackPopupMenu

trunk/win/Source/BT_EllipsisMenu.cpp:236–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236BOOL tryTrackPopupMenu(
237 __in HMENU hMenu,
238 __in UINT uFlags,
239 __in int x,
240 __in int y,
241 __in int nReserved,
242 __in HWND hWnd,
243 __in_opt CONST RECT *prcRect)
244{
245 __try
246 {
247 return TrackPopupMenu(hMenu, uFlags, x, y, nReserved, hWnd, prcRect);
248 }
249 __except(EXCEPTION_EXECUTE_HANDLER)
250 {
251 logger->logException(__FILE__, __LINE__, GetExceptionCode());
252 return FALSE;
253 }
254}
255
256// Draws the explorer-style context menu to the screen
257void ContextMenu::invokeMenu(HMENU menu, POINT pt, uint pos_flags)

Callers 1

invokeMenuMethod · 0.85

Calls 1

logExceptionMethod · 0.80

Tested by

no test coverage detected