Click here to Skip to main content
15,885,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with inheritance Pin
Tomas(cz)2-May-09 21:59
Tomas(cz)2-May-09 21:59 
GeneralRe: Problem with inheritance Pin
Code-o-mat2-May-09 23:45
Code-o-mat2-May-09 23:45 
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 
As you can see in the documentation of CToolTipCtrl::AddTool[^], you can specify it a rectangle in the lpRectTool parameter, so basicly i guess all you need to do is add your button twice to the tooltip specifying the left and then the right part of it. Something like this:
m_myToolTip.AddTool(&m_myButton, _T("left side of my cool button"), &left_side_rect, left_tool_id);
m_myToolTip.AddTool(&m_myButton, _T("right side of my cool button"), &right_side_rect, right_tool_id);


> 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
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 
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 

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.