Print Page | Close Window

MISSING: CXTTipWindow close on key down

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13311
Printed Date: 02 May 2024 at 7:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MISSING: CXTTipWindow close on key down
Posted By: mgampi
Subject: MISSING: CXTTipWindow close on key down
Date Posted: 02 February 2009 at 10:03am
Hi;

Whenever a CXTTipWindow is shown while - for example - an accelerator is pressed, the accelerator key is eaten by the tip window.
Would be better if the tip window is closed and the key down event is forwarded to its owner.




-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: mgampi
Date Posted: 16 June 2009 at 9:29am
Hi;

Can I get any comments from CJ about this?


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: znakeeye
Date Posted: 16 June 2009 at 10:37am
I don't follow here. Since when do modal dialogs *not* eat accelerators?

-------------
PokerMemento - http://www.pokermemento.com/


Posted By: mgampi
Date Posted: 16 June 2009 at 10:58am
Hi;

it's not a modal dialog, it's a CXTTooltipWnd control used inside a CView (MDI view). Whenever the tooltip is visible, the accelerators won't work.
But I think I'll do it the simplest way: hide the tooltip window in CView's PreTranslateMessage()...


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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