user32:dialog.c: Prevention endless loop. [try3]

Anatoly Lyutin vostok at
Thu Nov 15 09:28:33 CST 2007

A possibly to receive  a endless loop if a Tabs messages are processed 
in dialog box through IsDialogMessageW .
The reaction of Tabs on WM_GETDLGCODE is return DLGC_WANTARROWS | 
WM_KEYDOWN process in IsDialogMessageW in WM_SYSCHAR case. In this case 
calls a DIALOG_IsAccelerator function. Inside this function is do-while 
loop and send WM_GETDLGCODE message. When this message is send to Tabs 
it originates endless loop.

Should help on bug #9781

 Prevention endless loop.

Best regards
	Anatoly Lyutin.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: user32-dialog-IsAccelerator.patch
Type: text/x-patch
Size: 775 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list