Created
July 7, 2011 06:37
-
-
Save gaeeyo/1069002 to your computer and use it in GitHub Desktop.
Win32でボタンが一つしかないToolbarのボタンがクリックされると、その後ToolTipが表示されなくなる問題への対処
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ボタンが押されたときに(WM_COMMANDとか..) | |
// TB_GETTOOLTIPSでToolTip controlを取得して、TTM_POP してやる。 | |
CToolTipCtrl toolTip = GetToolTips(); | |
if(toolTip.IsWindow() ) { | |
toolTip.Pop(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment