Print Page | Close Window

Handling Keyborad/Mouse events in a Pane

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


Topic: Handling Keyborad/Mouse events in a Pane
Posted By: Docpane_user
Subject: Handling Keyborad/Mouse events in a Pane
Date Posted: 17 March 2008 at 10:32am
Hi,
 
My application is a dialog based application. I am having some entry dialogs(where user can input data) and some browser dialogs where the user can see the status of the orders.
 
Now I have created panes showing entry dialog and the browser dialog and attached these panes to my main dialog. The problem comes, when the user tries to input data in the first pane(entry dialog). The application hangs and I don't know where the Keyborad/mouse event is handled. The message is not coming to my entry dialog.
 
Thanks in advance for any help!!



Replies:
Posted By: Sergeus
Date Posted: 27 August 2008 at 4:32am
I have the same problem!!! Can someone write something about this. It seems to me like it is some bug with handling messeges in panes


Posted By: znakeeye
Date Posted: 29 August 2008 at 1:17pm
You need to override CMainFrame::OnCmdMsg and delegate messages to the active pane (if any). At least one of the samples uses this technique ("Command Routing").



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