Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using MSXML in VS 6.0 C++ app Pin
tas282621-Aug-08 6:58
tas282621-Aug-08 6:58 
AnswerRe: Using MSXML in VS 6.0 C++ app Pin
Ștefan-Mihai MOGA21-Aug-08 14:36
professionalȘtefan-Mihai MOGA21-Aug-08 14:36 
QuestionHow to konw there is an icon under the cursor? Pin
mceros21-Aug-08 3:10
mceros21-Aug-08 3:10 
AnswerRe: How to konw there is an icon under the cursor? Pin
Nibu babu thomas21-Aug-08 18:39
Nibu babu thomas21-Aug-08 18:39 
GeneralRe: How to konw there is an icon under the cursor? Pin
mceros22-Aug-08 1:22
mceros22-Aug-08 1:22 
GeneralRe: How to konw there is an icon under the cursor? Pin
Nibu babu thomas22-Aug-08 1:26
Nibu babu thomas22-Aug-08 1:26 
GeneralRe: How to konw there is an icon under the cursor? Pin
mceros22-Aug-08 1:41
mceros22-Aug-08 1:41 
GeneralRe: How to konw there is an icon under the cursor? Pin
Nibu babu thomas22-Aug-08 1:51
Nibu babu thomas22-Aug-08 1:51 
mceros wrote:
I want my program to display something like the tooltip when user stays its cursor on any icon of folder, so it is almost impossible to store the locations of all folders.


If your folders are controls then you can call EnableTooltips in OnCreate or OnInitDialog and handle TTN_NEEDTEXT notification.

MSDN has useful code snippet. This way you don't need to store icon locations.

Prototype for TTN_NEEDTEXT looks like this...

BOOL TooltipHandler( UINT id, NMHDR * pTTTStruct, LRESULT * pResult );


Nibu babu thomas
Microsoft MVP for VC++


Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http://nibuthomas.wordpress.com

GeneralRe: How to konw there is an icon under the cursor? Pin
mceros22-Aug-08 3:03
mceros22-Aug-08 3:03 
GeneralRe: How to konw there is an icon under the cursor? Pin
Nibu babu thomas22-Aug-08 3:06
Nibu babu thomas22-Aug-08 3:06 
GeneralRe: How to konw there is an icon under the cursor? Pin
mceros22-Aug-08 4:43
mceros22-Aug-08 4:43 
GeneralRe: How to konw there is an icon under the cursor? Pin
Nibu babu thomas22-Aug-08 4:44
Nibu babu thomas22-Aug-08 4:44 
GeneralRe: How to konw there is an icon under the cursor? Pin
mceros22-Aug-08 4:54
mceros22-Aug-08 4:54 
Questionget network path in tree control Pin
Madan Chauhan21-Aug-08 2:19
Madan Chauhan21-Aug-08 2:19 
AnswerRe: get network path in tree control Pin
Ștefan-Mihai MOGA21-Aug-08 14:39
professionalȘtefan-Mihai MOGA21-Aug-08 14:39 
GeneralRe: get network path in tree control Pin
Madan Chauhan21-Aug-08 20:05
Madan Chauhan21-Aug-08 20:05 
QuestionHow to end the waitable timer [modified] Pin
ptr_Electron21-Aug-08 2:11
ptr_Electron21-Aug-08 2:11 
AnswerRe: How to end the waitable timer Pin
Jijo.Raj21-Aug-08 2:29
Jijo.Raj21-Aug-08 2:29 
AnswerRe: How to end the waitable timer Pin
_AnsHUMAN_ 21-Aug-08 2:41
_AnsHUMAN_ 21-Aug-08 2:41 
AnswerRe: How to end the waitable timer Pin
Hamid_RT21-Aug-08 3:06
Hamid_RT21-Aug-08 3:06 
QuestionMemory Leak tools Pin
tom groezer21-Aug-08 2:09
tom groezer21-Aug-08 2:09 
AnswerRe: Memory Leak tools [modified] Pin
toxcct21-Aug-08 2:35
toxcct21-Aug-08 2:35 
AnswerRe: Memory Leak tools Pin
Jijo.Raj21-Aug-08 3:02
Jijo.Raj21-Aug-08 3:02 
GeneralRe: Memory Leak tools Pin
Chris Losinger21-Aug-08 3:11
professionalChris Losinger21-Aug-08 3:11 
GeneralRe: Memory Leak tools Pin
David Crow21-Aug-08 3:24
David Crow21-Aug-08 3:24 

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.