Skip to content

Commit

Permalink
ticker: 4803
Browse files Browse the repository at this point in the history
pull up r18841 from trunk

 r18841@cathode-dark-space:  jaltman | 2006-11-17 18:24:59 -0500
 ticket: new
 subject: one more commit for kfw 3.1 beta 4
 tags: pullup
 
   - when the krb5 prompter callback function is called,
     set the focus to the first input field provided by
     the caller.
 
 



git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18848 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tlyu committed Nov 17, 2006
1 parent 0fcb3b0 commit 05443a0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/windows/identity/ui/newcredwnd.c
Expand Up @@ -1740,6 +1740,13 @@ static LRESULT nc_handle_wm_nc_notify(HWND hwnd,
y += dy;
}

if (d->nc->n_prompts > 0 &&
d->nc->prompts[0]->hwnd_edit) {

SetFocus(d->nc->prompts[0]->hwnd_edit);

}

SelectObject(hdc, hfold);
ReleaseDC(d->dlg_main, hdc);

Expand Down

0 comments on commit 05443a0

Please sign in to comment.