|
-
June 3rd, 2004, 06:30 AM
#1
Hot keys are not functioning properly
Hi,
I am facing a starnge situation. Mine is a SDI application. A modal dialog box is shown when user selects a command option. In this dialog a long procedure is placed which is run in a workwr thread. Problem is that whenever, i start my worker thread, hotkeys and tab button stops functioning however mouse evnts are handled properly.
Can anyone figure out the reason.
thnx in advance.
Amit
-
June 3rd, 2004, 08:22 AM
#2
shortcuts do also fail
Hi,
i tried accelerators also, they also fails when worker thread is on. everything is fine once i stop my worker thread.
Amit
-
June 3rd, 2004, 08:35 AM
#3
Re: Hot keys are not functioning properly
Originally posted by Amit Sebiz
Hi,
I am facing a starnge situation. Mine is a SDI application. A modal dialog box is shown when user selects a command option. In this dialog a long procedure is placed which is run in a workwr thread. Problem is that whenever, i start my worker thread, hotkeys and tab button stops functioning however mouse evnts are handled properly.
Can anyone figure out the reason.
thnx in advance.
Amit
see this thread. it might help.
-
June 4th, 2004, 01:48 AM
#4
Hi,
I checked this in a view(thread is fired by a handler in view) just to get same problem. well, good thing here was that shortkeys for my menus worked but for controls palced on view failed. is this something to do with multithreading.
Amit
-
June 4th, 2004, 02:41 AM
#5
hi Alin,
well, i checked out the thread, it seems a good alternative to worker threads for some cases but in my case the certain processes can go as long as for an hour and i think i should not peek with message threads for that long.
thnx for your reply,
Amit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|