Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - SetToolTipContext needed!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SetToolTipContext needed!

 Post Reply Post Reply
Author
Message Reverse Sort Order
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: SetToolTipContext needed!
    Posted: 27 January 2007 at 11:52am
Hi, 
 
I have derived a class from CXTPToolTipContext. To use it in a report control (or any other Codejock control) an ugly hack is needed.
 
There is no SetToolTipContext function (like SetPaintManager) so in order to use my custom tooltip control I have to do this:
 
CMyReportControl::CGameReportControl()
{
    CMDTARGET_RELEASE(m_pToolTipContext);
    m_pToolTipContext = new CMyToolTipContext();
}
Have I missed something or is this a design flaw?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.