Click here to Skip to main content
15,893,668 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with inheritance Pin
Tomas(cz)3-May-09 2:12
Tomas(cz)3-May-09 2:12 
GeneralRe: Problem with inheritance Pin
Code-o-mat3-May-09 6:17
Code-o-mat3-May-09 6:17 
GeneralRe: Problem with inheritance Pin
Tomas(cz)3-May-09 11:04
Tomas(cz)3-May-09 11:04 
GeneralRe: Problem with inheritance Pin
Code-o-mat4-May-09 0:47
Code-o-mat4-May-09 0:47 
Questionhelp me !! Pin
Mohammadj2-May-09 8:55
Mohammadj2-May-09 8:55 
AnswerRe: help me !! Pin
Code-o-mat2-May-09 11:04
Code-o-mat2-May-09 11:04 
GeneralRe: help me !! Pin
Mohammadj3-May-09 3:28
Mohammadj3-May-09 3:28 
GeneralRe: help me !! Pin
enhzflep3-May-09 4:02
enhzflep3-May-09 4:02 
GeneralRe: help me !! Pin
Code-o-mat3-May-09 5:43
Code-o-mat3-May-09 5:43 
GeneralRe: help me !! Pin
enhzflep3-May-09 13:40
enhzflep3-May-09 13:40 
GeneralRe: help me !! Pin
Code-o-mat3-May-09 21:52
Code-o-mat3-May-09 21:52 
GeneralRe: help me !! Pin
enhzflep3-May-09 22:03
enhzflep3-May-09 22:03 
GeneralRe: help me !! Pin
Code-o-mat3-May-09 22:08
Code-o-mat3-May-09 22:08 
GeneralRe: help me !! Pin
Mohammadj6-May-09 11:16
Mohammadj6-May-09 11:16 
GeneralRe: help me !! Pin
Code-o-mat6-May-09 20:46
Code-o-mat6-May-09 20:46 
GeneralRe: help me !! Pin
Mohammadj8-May-09 10:49
Mohammadj8-May-09 10:49 
GeneralRe: help me !! Pin
Code-o-mat8-May-09 12:42
Code-o-mat8-May-09 12:42 
Step 1: Add this data member to your CTasheDlg class: CToolTipCtrl m_tooltip;
Step 2: Add this method to your CTasheDlg:
BOOL CTasheDlg::PreTranslateMessage(MSG *pMsg)
{
  if (m_tooltip.m_hWnd) m_tooltip.RelayEvent(pMsg);
  return __super::PreTranslateMessage(pMsg);
}

Step 3: Add this to the OnInitDialog of your CTasheDlg:
m_tooltip.Create(this);
CRect leftRect(button_rectangle), rightRect(button_rectangle);
leftRect.right = rightRect.left = leftRect.right / 2;
m_tooltip.AddTool(&m_double_tooltips_button, "Left side", &leftRect, 1);
m_tooltip.AddTool(&m_double_tooltips_button, "Right side", &rightRect, 2);
right after the line m_double_tooltips_button.GetClientRect(button_rectangle) ;

I believe you got all the help you need to get this to work...

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

GeneralRe: help me !! Pin
Mohammadj9-May-09 4:55
Mohammadj9-May-09 4:55 
GeneralRe: help me !! Pin
Code-o-mat9-May-09 6:58
Code-o-mat9-May-09 6:58 
GeneralRe: help me !! Pin
Mohammadj9-May-09 8:55
Mohammadj9-May-09 8:55 
GeneralRe: help me !! Pin
Mohammadj10-May-09 23:38
Mohammadj10-May-09 23:38 
Questionneed a program on theory of computation Pin
krsrinivas2-May-09 7:25
krsrinivas2-May-09 7:25 
QuestionRe: need a program on theory of computation Pin
David Crow2-May-09 14:52
David Crow2-May-09 14:52 
GeneralRe: need a program on theory of computation Pin
krsrinivas2-May-09 19:46
krsrinivas2-May-09 19:46 
GeneralRe: need a program on theory of computation Pin
killabyte2-May-09 21:55
killabyte2-May-09 21:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.