Forcing a textbox style
- From: "Guy Cohen" <control@xxxxxxxxxxxxxx>
- Date: Fri, 16 Sep 2005 12:27:14 +0200
Hi all,
I use ES_NUMBER/ES_UPPERCASE/ES_LOWERCASE to force the textbox style.
Can it be un-done ?
I tried Call SendMessage(hWnd, EM_UNDO, 0, ByVal 0&) but this did not work.
In general I have a combo with two options "Numbers only" and "Upper case"
When it is set to the first value - the textbox is set to numbers only.
When I set it to the second (meaning - second time I use em_something) it is
not set to upper case and stays as "Numbers only"
I tried to use EM_UNDO before setting it to the desired case but could not.
Please show the correct way :)
TIA
Guy
.
- Follow-Ups:
- Re: Forcing a textbox style
- From: Randy Birch
- Re: Forcing a textbox style
- From: Rick Rothstein [MVP - Visual Basic]
- Re: Forcing a textbox style
- From: Someone
- Re: Forcing a textbox style
- From: Ken Halter
- Re: Forcing a textbox style
- From: Guy Cohen
- Re: Forcing a textbox style
- Prev by Date: Re: Compiler String Efficiency
- Next by Date: Re: DllRegisterServer and NT security
- Previous by thread: Automating Fax In Windows
- Next by thread: Re: Forcing a textbox style
- Index(es):
Relevant Pages
|