Print Page | Close Window

codejock breaks GetMessageString ?

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=629
Printed Date: 23 December 2024 at 7:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: codejock breaks GetMessageString ?
Posted By: Ark42
Subject: codejock breaks GetMessageString ?
Date Posted: 16 April 2004 at 11:57pm

I try something simple like:
void CMainFrame::GetMessageString(UINT nID, CString &rMessage) const
{
    rMessage = "blah";
}
and normally this would make the status bar always say "blah" no matter what button or menu item you hover over, but with Codejock only items with blank string table entries seem to show up as "blah", the rest will use the string table entry directly, which is not what I want, I need to load the string table entry for the control, and translate it with an external function, then display it.




Replies:
Posted By: Oleg
Date Posted: 17 April 2004 at 5:07am

there is CXTPControl::SetDescription method,

or you can catch WM_SETMESSAGESTRING, lparam contains (LPCTSTR)strDescription



-------------
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