This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: What is ES_WANTRETURN in Other Windows Styles used for?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2009
03:03 PM
What is ES_WANTRETURN in Other Windows Styles used for?
Hi;
Using IS 2009 Prem Edit SP 2 and an Install Project project (not MSI).
I created a custom dialog, placed an edit field on the dialog. In Other
Windows Styles, I checked ES_LEFT, ES_NUMBER, ES_WANTRETURN. I
see IS forcing only numeric input, but I thought ES_WANTRETURN would
force user to enter at least 1 numeric character in the edit field... but
the field can remain untouched and I can click next to get to next dialog.
What is the purpose of ES_WANTRETURN?
Regards,
Bill
Using IS 2009 Prem Edit SP 2 and an Install Project project (not MSI).
I created a custom dialog, placed an edit field on the dialog. In Other
Windows Styles, I checked ES_LEFT, ES_NUMBER, ES_WANTRETURN. I
see IS forcing only numeric input, but I thought ES_WANTRETURN would
force user to enter at least 1 numeric character in the edit field... but
the field can remain untouched and I can click next to get to next dialog.
What is the purpose of ES_WANTRETURN?
Regards,
Bill
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2009
05:39 PM
Please see this MSDN page: http://msdn.microsoft.com/en-us/library/bb775464(VS.85).aspx.
To ensure a field isn't empty, please see (for example) the source for SdRegisterUser or the "Serial Number Validation Sample Project" sample that ships with InstallShield.
To ensure a field isn't empty, please see (for example) the source for SdRegisterUser or the "Serial Number Validation Sample Project" sample that ships with InstallShield.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 15, 2009
10:53 PM
Thank You Robert!!!