Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » tooltip icon ignored in CExtEdit derived class in 2.92 Collapse All
Subject Author Date
Offer Har Aug 13, 2011 - 7:25 AM

Dear Support,

We implemented the following function in our CExtEdit derived class:

void CMyEdit::OnAdvancedPopupMenuTipWndDisplay(
    CExtPopupMenuTipWnd & _ATTW,
    const RECT & rcExcludeArea
    ) const
    ASSERT_VALID( this );
    if( ! m_bToolTipActive )
    if( m_strToolTipText.IsEmpty() )
    _ATTW.SetText( LPCTSTR(m_strToolTipText) );
    _ATTW.Show((CWnd*)this, rcExcludeArea, true);

We made sure that m_hInfo is a vaid HICON, but still, no luck. We also tried it with __ETS_BALLOON - same result.

Is there a known but there? are we doing something wrong?



Technical Support Aug 14, 2011 - 9:16 AM

But CExtEdit class supports Prof-UIS tooltips and have the same method. You don’t need to implement the same in your CMyEdit class.

Offer Har Aug 14, 2011 - 11:49 AM

I found the problem - I use an HICON that I keep as member, so I had to pass the last parameter To SetIcon - bCloneIcon as true, otherwise it deletes my icon...

Problem solved.