Browse Source

Fixed size issue that prevented popup window message from showing

Scott Brogden 9 years ago
parent
commit
171ebb6e05
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Popup.cpp

+ 1 - 1
Popup.cpp

@@ -5,7 +5,7 @@
 void InitToolInfo( TOOLINFO& ti )
 {
 	// INITIALIZE MEMBERS OF THE TOOLINFO STRUCTURE
-	ti.cbSize = sizeof(TOOLINFO);
+	ti.cbSize = TTTOOLINFO_V1_SIZE;
 	ti.uFlags = TTF_ABSOLUTE | TTF_TRACK;
 	ti.hwnd = NULL;
 	ti.hinst = NULL;