Click to See Complete Forum and Search --> : Tool Tips(16-bit)


Sabari Muthuswam
April 19th, 1999, 05:28 PM
I have added a drop-down combo box to the "Save As" modal dialog inherited from CFiledialog. All the controls that were inherited have tool tips pop up when
right clicked on them, but the combo box that I added does not have tool tips associated with it, so the following line pops up when right clicking on it "No help topic associated with this item". So far I dont have a problem , but only in Windows 98 if I click on the above message the computer crashes. It is obvious that there is no valid V-Table pointer associated with the tool tip. I did read the article by Paul Knaplund in his article in PC Magazine, 11/17/98, "ToolTips for Dialogs in MFC" and also the answers to Richard C 's question based on this article.(1998/12/13) found at:

http://www.zdnet.com/pcmag/pctech/content/17/20/pp1720.001.html
http://www.codeguru.com/mfc/comments/1097.shtml

All the above solutions seems perfect for a 32-bit code but my problem is that I am working on 16-bit applications (I use Visual C++ 1.52). Could some one give me a
16-bit solution to add tool tips to combo boxes in modal dialogs .

- Thank You

Paul McKenzie
April 19th, 1999, 06:15 PM
Check if there is a sample called TOOLTIPS on the Version 1.52 CD. In there, they make use of the tooltips on the CToolBar. You can look at the code and see how you would implement this for combo boxes.

Regards,

Paul McKenzie