![]() |
Help acess on menu or toolbar item |
Post Reply
|
| Author | |
pmeunier
Newbie
Joined: 09 August 2004 Location: France Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Help acess on menu or toolbar itemPosted: 20 September 2004 at 8:41am |
|
How I do to acces help on menu or toolbar item ? In XTPCommandBar.cpp: BOOL CXTPCommandBar::SetStatusText(CString strDescription) { CWnd* pOwner = GetSite(); if (strDescription.IsEmpty()){ pOwner->SendMessage(WM_POPMESSAGESTRING, AFX_IDS_IDLEMESSAGE); } else{ pOwner->SendMessage(WM_SETMESSAGESTRING, 0, (LPARAM)(LPCTSTR)strDescription); } return TRUE;} And in WinFRM.cpp m_nIDTracking = (UINT)wParam; // so F1 on toolbar buttons workSo wParam is always 0 ! It is a bug ? or what is the solution ? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 September 2004 at 6:59am |
|
see sample. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |