Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - codejock breaks GetMessageString  ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

codejock breaks GetMessageString ?

 Post Reply Post Reply
Author
Message
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Topic: codejock breaks GetMessageString ?
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.