FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unbound shortcuts throw "Windows hung" error

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
mitja



Joined: 18 Feb 2005
Posts: 19

PostPosted: Wed Aug 24, 2005 7:03 am    Post subject: Unbound shortcuts throw "Windows hung" error Reply with quote

I am using snapshot dfl-20050814.zip (latest) and I noticed it causes windows to hang if user hits any unbound (undefined by addShortcut()) alphanumeric key, single or combined with either ALT, CTRL or SHIFT.

Is there any way to prevent such behaviour?
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Wed Aug 24, 2005 7:46 am    Post subject: Re: Unbound shortcuts throw "Windows hung" error Reply with quote

mitja wrote:
I am using snapshot dfl-20050814.zip (latest) and I noticed it causes windows to hang if user hits any unbound (undefined by addShortcut()) alphanumeric key, single or combined with either ALT, CTRL or SHIFT.

Is there any way to prevent such behaviour?


I recently added that exception because it used to slip into an infinite loop. At least you can recover from the exception. It seems to only happen when embedding controls within controls and an Alt+key mnemonic is pressed that isn't used by any controls or menus. What happens is Windows loops through all the child controls looking for one that uses that mnemonic and gets lost so it keeps on going. I'm not sure of a simple way of fixing it. Crying or Very sad I was planning on handling the mnemonics myself but that is going to take awhile; I already started trying. Sorry for this inconvenience, Windows can be such a pain.
Back to top
View user's profile Send private message
mitja



Joined: 18 Feb 2005
Posts: 19

PostPosted: Wed Aug 24, 2005 7:54 am    Post subject: Reply with quote

No worries, I am glad you're still on the case Very Happy

Keep up the good work and good luck!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group