Click here to Skip to main content
15,886,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Come on, read the documentation(s) of the tooltip control and the AddTool method. Anyways, those are numeric values you use to identify the tools you feed to the tooltip control. Make sure these are unique for every tool you add to the tooltip control. Basicly, when you give a whole button or list or edit field or any other control to the tooltip control you can later on easily refer to the right tooltip by using the window handle you gave to the tooltip control. So, for example, if you add your custom button to the tooltip control and later want to change the tooltip text you can tell the tooltip control to "hey, tooltip control, please change the tooltip for the window with this handle to blablabla". But if you specify multiple areas for the tooltip which are on the same control, you need to have a way to identify those too. So for example, you add the left and right rectangles to the tooltip control which are on the same button and later on you want to change the tooltip text of the left part, saying "change the tooltip text of the button with this handle" won't be enough for the tooltip control because since this button has multiple areas added, it can't know which area you meant. So you also give your areas an ID. For example, you add the left part of the button with ID 12 and the right part with ID 23, and then you can tell the tooltip to change the tip text of the tool with the ID 12. Get it?

> 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
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 
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 
GeneralRe: need a program on theory of computation Pin
Cedric Moonen2-May-09 22:18
Cedric Moonen2-May-09 22:18 
QuestionACL+LOCAL_MACHINE [modified] Pin
steph42-May-09 7:19
steph42-May-09 7:19 
QuestionProblem Converting string/const char* to OLECHAR FAR* Pin
CoffeeAddict192-May-09 6:41
CoffeeAddict192-May-09 6:41 
AnswerRe: Problem Converting string/const char* to OLECHAR FAR* Pin
Code-o-mat2-May-09 8:52
Code-o-mat2-May-09 8:52 
Questiondisplay image in CListctrl Pin
AnithaSubramani2-May-09 2:10
AnithaSubramani2-May-09 2:10 
AnswerRe: display image in CListctrl Pin
Elsie2-May-09 3:15
Elsie2-May-09 3:15 
AnswerRe: display image in CListctrl Pin
Code-o-mat2-May-09 5:18
Code-o-mat2-May-09 5:18 

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.