c++ - Windows 10 tray menu behind taskbar -


i have application icon in system tray.
when right click tray icon shows menu user can select action.
have found if have full screen application running , use alt + esc tray icon. when right click icon menu show behind(under) windows taskbar.
in cases, menu low not possible select lowest menu item in context menu.
when not full screen application in front menu correctly shown on top of taskbar. have testes on windows 7 works fine full screen application.
have tried different full screen application internet explorer, notepad++ same thing happens.
can see there lots of other application “skype business” , “radeon settings” same thing.
skype business menu behind taskbar: enter image description here

build-in windows 10 applications works better.
windows time , language parts of system tray show menus on top of taskbar new windows 10 layout (black)
windows sound , network icons hide taskbar while showing regular right click menu, keeping start menu open. (this looks bit strange)

have tried notificationicon sample windows sdk not work correctly.

question right way program showing tray context menu’s windows 10?
code looks this.

case wm_rbuttondown: {     setforegroundwindow();     cmenu menu;     menu.loadmenu(id_tray_menu_show_app);     cmenu* ppopup = menu.getsubmenu ( 0 ) ;     getcursorpos ( &pt ) ;     ppopup->trackpopupmenu ( tpm_leftalign | tpm_rightbutton,pt.x, pt.y, ); } 

thanks help

it windows 10 bug, have noticed many applications. if ms not defining taskbar properly. been 2 yrs no fix... maybe in couple.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -