- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
I hadn't realisd the difference between EN_ and EM_
David
I hadn't realisd the difference between EN_ and EM_
David

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page