Skip to content

Instantly share code, notes, and snippets.

@gaeeyo
Created July 7, 2011 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaeeyo/1069002 to your computer and use it in GitHub Desktop.
Save gaeeyo/1069002 to your computer and use it in GitHub Desktop.
Win32でボタンが一つしかないToolbarのボタンがクリックされると、その後ToolTipが表示されなくなる問題への対処
// ボタンが押されたときに(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