![]() |
CXTPControlEdit & context help conflict |
Post Reply
|
| Author | |
Joe19
Newbie
Joined: 11 May 2007 Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPControlEdit & context help conflictPosted: 30 April 2008 at 2:11pm |
|
Using 11.2.2 version of tools. I have a ribbon bar based application. Also using html help. I am trying to setup context sensitive help (user presses the F1 key while on a control, the relevant help section in the help file is displayed).
If I have a CXTPControlEdit control in the ribbon bar and if it has focus and the help file is open the help file becomes unresponsive. The help window will not accept any input. It can be dragged, but not closed.
If the focus is switched to another control the help window behaves correctly. Focus back on the edit control and the help file locks again.
I am able to produce the problem in the exampe SDI Ribbon project.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 May 2008 at 2:00am |
|
Hello,
Thanks, I see.
As workaround for now add virtual
virtual void WinHelpInternal(DWORD_PTR dwData, UINT nCmd = HELP_CONTEXT);
...
void CRibbonSampleApp::WinHelpInternal(DWORD_PTR dwData, UINT nCmd ) { XTPMouseManager()->SendTrackLost(); CWinApp::WinHelpInternal(dwData, nCmd); } it will close all popups and kill edit focus befo show HtmlHelp. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Joe19
Newbie
Joined: 11 May 2007 Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 May 2008 at 5:14pm |
|
This only partially solved the problem. This works in when tne initial F1 key is pressed. However if you change focus back to the edit control in the application the problem comes back.
This is a minor enough issue I'll be happy if you can resolve when you do your next toolkit update. Workaround is of little priority. Thanks,
|
|
![]() |
|
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 |