Help field & scrollbar/tooltip |
Post Reply |
Author | |
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
Posted: 31 March 2006 at 5:04am |
Hello,
i use V9.81. Is there a way to add a scrollbar to the help field. Or how can i add a tooltip to the help field, if the text is to large. Also show tooltip with multiline. Jimmy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, You can override CXTPPropertyGrid and catch MFC's OnToolHitTest... |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Hello,
But it don't show multiline-tooltip- greetings from austria jimmy |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, code: class CPropertyGrid : public CXTPPropertyGrid m_pToolTipContext->ShowTitleAndDescription(TR UE); } BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult) INT_PTR OnToolHitTest(CPoint point, TOOLINFO* pTI) const int nID = GetSelectedItem()->GetID(); CXTPClientRect rc(m_hWnd); if (rcHelp.PtInRect(point)) return nID; protected:
usage: CPropertyGrid m_wndPropertyGrid;
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jimmy
Senior Member Joined: 11 November 2003 Location: Austria Status: Offline Points: 515 |
Post Options
Thanks(0)
|
Thank you,
Now it work. greetings from austria Jimmy |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |