10-21-2013, 11:44 PM
Hi Gintaras,
I feel I should know this already but can't find the solution.... I am essentially looking for I case EN_SETFOCUS<16|xxx for a webbrowser control in dialog. I use "case EN_SETFOCUS<16|xxx" for text entry fields in user dialogs when I want the user to be able to be able to hit return on the keyboard after entering text into the field and not close the dialog burt rather do something with the text. I put in something like this for the text field:
and then in the IDOK line have something like this in the case IDOK line:
]
But for browser controls, I don't know how to set focused control id to browser control when that has focus. When I hit return in browser, sometimes will do last FieldSelected from prior case EN_SETFOCUS update.
Thanks for any thoughts!,
S
I feel I should know this already but can't find the solution.... I am essentially looking for I case EN_SETFOCUS<16|xxx for a webbrowser control in dialog. I use "case EN_SETFOCUS<16|xxx" for text entry fields in user dialogs when I want the user to be able to be able to hit return on the keyboard after entering text into the field and not close the dialog burt rather do something with the text. I put in something like this for the text field:
and then in the IDOK line have something like this in the case IDOK line:
]
But for browser controls, I don't know how to set focused control id to browser control when that has focus. When I hit return in browser, sometimes will do last FieldSelected from prior case EN_SETFOCUS update.
Thanks for any thoughts!,
S