We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

TabControlExt Hot Keys in MDI Application

Thread ID:





7005 Sep 9,2003 12:48 PM Sep 9,2003 03:30 PM Windows Forms 1
Tags: Tools
Don Worthley
Asked On September 9, 2003 12:48 PM

Just in case someone else runs into this problem, there is a bug in the framework which cases Hot keys to work incorrectly in MDI Child forms. You get strange behavior where hot keys entered on one from activate controls on other forms that are not activated. You can work around this bug by adding the following procedure to your MDI Child forms which use hot keys. Protected Overrides Function ProcessDialogChar(ByVal charCode As Char) As Boolean If charCode <> " "c And ProcessMnemonic(charCode) Then Return True End If Return False ' Nmemonic is unhandled, Do not call base to bubble up to MDI container End Function 'ProcessDialogChar

Arun Srinivasan [Syncfusion]
Replied On September 9, 2003 03:30 PM

Hi Don, Thanks for the information. Would also add that this behaviour is seen while using Visual Studio 2003. Thanks Arun


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.