How can I avoid the taskbar popping up when set to autohide, when using ShowBalloonHint?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The notification area in Windows has a defined behavior. You can wish it behaved differently, but that doesn’t change the fact that what you want to do cannot be done.
Sorry for the inconvience.
A close workaround would be to create a
TOOLTIPwindow yourself, and position it on the screen near where you think the user’s notification area might be:That will involve using
GetSystemMetrics(SM_CXFULLSCREEN)GetSystemMetrics(SM_CYFULLSCREEN)SystemParametersInfo(SPI_GETWORKAREA)Then you create a
TOOLTIPS_CLASSwindow:Then you would send it the
TTM_SETTITLE,TTM_UPDATETIPTEXT,TTM_TRACKPOSITIONmessages, and finally the big moment:TTM_TRACKACTIVATE:And then sometime later you hide the tooltip with another call to
TTM_TRACKACTIVATE.You’re free to follow Windows user experience guidelines, or you can roll your own.