Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XTPDockingPaneKeyboardNavigate and localization
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTPDockingPaneKeyboardNavigate and localization

 Post Reply Post Reply
Author
Message
Kukis View Drop Down
Newbie
Newbie


Joined: 24 May 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kukis Quote  Post ReplyReply Direct Link To This Post Topic: XTPDockingPaneKeyboardNavigate and localization
    Posted: 28 December 2006 at 1:07pm
Is there any way to translate Docking Pane Keyboard Navigation window without library changes ?
I've investigated code and cant find any place to intercept internal string members and substitute with my own.
 
Initial values are assigned in the ctor:
 
CXTPDockingPaneWindowSelect::CXTPDockingPaneWindowSelect(CXTPDockingPaneManager* pManager, BOOL bActivatePanes)
    : m_pManager(pManager), m_bActivatePanes(bActivatePanes)
{
    ..............
    m_strActiveTools = _T("Active Tool Windows");
    m_strActiveFiles = _T("Active Files");
    ..............
}
and window itself is created and shown without any additional notifications:
 
LRESULT CALLBACK CXTPDockingPaneKeyboardHook::KeyboardProc(int code, WPARAM wParam, LPARAM lParam)
{
    ...................
            CXTPDockingPaneManager* pManager = pKeyboardManager->FindFocusedManager();
            if (pManager && (pManager->IsKeyboardNavigateEnabled() & xtpPaneKeyboardUseCtrlTab))
            {
                pWindowSelect = new CXTPDockingPaneWindowSelect(pManager, FALSE);
                BOOL bResult = pWindowSelect->DoModal();
 
                delete pWindowSelect;
                pWindowSelect = 0;
 
                if (bResult)
                    return TRUE;
            }
    ....................
}
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: 28 December 2006 at 3:08pm
Hello,
I afraid not. We will move this strings to resources for next update release. Thank you
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.109 seconds.