|
-
April 19th, 1999, 05:28 PM
#1
Tool Tips(16-bit)
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/co...p1720.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
-
April 19th, 1999, 06:15 PM
#2
Re: Tool Tips(16-bit)
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|