Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /SpellProperties.cpp [a6d5d6] .. [4dda5d] Maximize Restore

  Switch to side-by-side view

--- a/SpellProperties.cpp
+++ b/SpellProperties.cpp
@@ -312,7 +312,13 @@
     cb->AddString(tmpstr);
     num<<=1;
   }
- 
+  //tooltips
+  {
+    m_tooltip.Create(this,TTS_NOPREFIX);
+    m_tooltip.SetMaxTipWidth(200);
+    m_tooltip.SetTipBkColor(RGB(240,224,160));
+  }
+
   UpdateData(UD_DISPLAY);
 	return TRUE;
 }
@@ -673,6 +679,12 @@
 {
 	CPropertyPage::OnInitDialog();
   RefreshDescription();
+  //tooltips
+  {
+    m_tooltip.Create(this,TTS_NOPREFIX);
+    m_tooltip.SetMaxTipWidth(200);
+    m_tooltip.SetTipBkColor(RGB(240,224,160));
+  }
   UpdateData(UD_DISPLAY);
 	return TRUE;
 }
@@ -877,6 +889,12 @@
 {
 	CPropertyPage::OnInitDialog();
   RefreshEquip();
+  //tooltips
+  {
+    m_tooltip.Create(this,TTS_NOPREFIX);
+    m_tooltip.SetMaxTipWidth(200);
+    m_tooltip.SetTipBkColor(RGB(240,224,160));
+  }
   UpdateData(UD_DISPLAY);
 	return TRUE;
 }
@@ -1251,6 +1269,12 @@
     i++;
   }
   RefreshExtended();
+  //tooltips
+  {
+    m_tooltip.Create(this,TTS_NOPREFIX);
+    m_tooltip.SetMaxTipWidth(200);
+    m_tooltip.SetTipBkColor(RGB(240,224,160));
+  }
   UpdateData(UD_DISPLAY);
 	return TRUE;
 }
@@ -1717,6 +1741,13 @@
 {
 	CPropertyPage::OnInitDialog();	
 	RefreshExtra();
+  //tooltips
+  {
+    m_tooltip.Create(this,TTS_NOPREFIX);
+    m_tooltip.SetMaxTipWidth(200);
+    m_tooltip.SetTipBkColor(RGB(240,224,160));
+  }
+  UpdateData(UD_DISPLAY);
 	return TRUE;
 }
 
@@ -1784,6 +1815,13 @@
 {
 	CPropertyPage::OnInitDialog();
 	RefreshTool();
+  //tooltips
+  {
+    m_tooltip.Create(this,TTS_NOPREFIX);
+    m_tooltip.SetMaxTipWidth(200);
+    m_tooltip.SetTipBkColor(RGB(240,224,160));
+  }
+  UpdateData(UD_DISPLAY);
 	return TRUE;
 }
 
@@ -2030,42 +2068,36 @@
 
 BOOL CSpellDescription::PreTranslateMessage(MSG* pMsg) 
 {
-	// TODO: Add your specialized code here and/or call the base class
-	
+	m_tooltip.RelayEvent(pMsg);
 	return CPropertyPage::PreTranslateMessage(pMsg);
 }
 
 BOOL CSpellExtended::PreTranslateMessage(MSG* pMsg) 
 {
-	// TODO: Add your specialized code here and/or call the base class
-	
+	m_tooltip.RelayEvent(pMsg);
 	return CPropertyPage::PreTranslateMessage(pMsg);
 }
 
 BOOL CSpellEquip::PreTranslateMessage(MSG* pMsg) 
 {
-	// TODO: Add your specialized code here and/or call the base class
-	
+	m_tooltip.RelayEvent(pMsg);	
 	return CPropertyPage::PreTranslateMessage(pMsg);
 }
 
 BOOL CSpellExtra::PreTranslateMessage(MSG* pMsg) 
 {
-	// TODO: Add your specialized code here and/or call the base class
-	
+	m_tooltip.RelayEvent(pMsg);	
 	return CPropertyPage::PreTranslateMessage(pMsg);
 }
 
 BOOL CSpellGeneral::PreTranslateMessage(MSG* pMsg) 
 {
-	// TODO: Add your specialized code here and/or call the base class
-	
+	m_tooltip.RelayEvent(pMsg);
 	return CPropertyPage::PreTranslateMessage(pMsg);
 }
 
 BOOL CSpellTool::PreTranslateMessage(MSG* pMsg) 
 {
-	// TODO: Add your specialized code here and/or call the base class
-	
+	m_tooltip.RelayEvent(pMsg);	
 	return CPropertyPage::PreTranslateMessage(pMsg);
 }