![]() |
Handling Keyborad/Mouse events in a Pane |
Post Reply ![]() |
Author | |
Docpane_user ![]() Newbie ![]() Joined: 17 March 2008 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() 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!!
|
|
![]() |
|
Sergeus ![]() Newbie ![]() Joined: 03 July 2008 Location: Ukraine Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
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").
|
|
![]() |
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 |