WM_NEXTDLGCTL changes the default button ID and does not restore default control identifier

Krishna Murthy krishna.murthy at guptaworldwide.com
Tue Jun 15 09:55:56 CDT 2004


WM_NEXTDLGCTL changes the default button ID and does not restore default control identifierThe wine cvs is not updated with this patch yet. Please let me know if I am missing anything.
Thanks,
Krishna
  "Krishna Murthy" <Krishna.Murthy at guptaworldwide.com> wrote in message news:37801DCF8DF6D111AA3800A0C9B3CCB704F2A5B6 at hqexchange.centurasoft.com...


  - Short Description: 
  When the tab key is used to navigate through controls, this message forgets the default push button control identifier when the current control focus is on a non-push button control.

  - Long Description: 
  Assume the dialog box has the following controls: 
  * Edit control ID_E1 
  * Push Button ID_B1 
  * Default Push Button IDDEF_B2 

  Initially when the dialog box is displayed and entering RETURN key will execute the action of IDDEF_B2. Now use tab key to go to control ID_B1 and comeback to ID_E1 and press RETURN key, then it does not execute the action of IDDEF_B2.

  - Patch: 
  WM_NEXTDLGCTL.patch80385.diff 

  - Change log Entry: 
  * Modified WM_NEXTDLGCTL to properly restore the default control identifier (idResult). 
  * Modified DEFDLG_SetDefButton() to properly change the default push button style. 

  Krishna 
  Gupta Technologies LLC       
  TEL: (650) 596-4828 
  E-mail: Krishna.Murthy at guptaworldwide.com <mailto:Krishna.Murthy at guptaworldwide.com>  
    

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20040615/e12cb207/attachment.html


More information about the wine-patches mailing list