Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Highlighing the default in an edit box

davidgraham
Beginner
467 Views
How do I highlight the default in an edit box.
I want the default value highlighted so that I can just type over it automatically.
It is a Wndows API project.
I have looked at the EN_ commands but cann't see anything that looks right.

Thanks, David
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
467 Views
See EM_SETSEL. (EN_* stands for edit box notifications , i.e. the ones that come from edit boxes via WM_COMMAND/WM_NOTIFY, while EM_* stands for edit box messages. MS uses that naming convention more or less consistently throughout).
0 Kudos
davidgraham
Beginner
467 Views
Thanks,
I hadn't realisd the difference between EN_ and EM_
David
0 Kudos
Reply