Print Page | Close Window

Help acess on menu or toolbar item

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1188
Printed Date: 06 November 2025 at 2:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Help acess on menu or toolbar item
Posted By: pmeunier
Subject: Help acess on menu or toolbar item
Date Posted: 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 work

So wParam is always 0 !

It is a bug ? or what is the solution ?




Replies:
Posted By: Oleg
Date Posted: 21 September 2004 at 6:59am

see sample.

https://forum.codejock.com/uploads/oleg/2004-09-21_065824_HelpContext.zip - 2004-09-21_065824_HelpContext.zip



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net