Re: win32lib

new topic     » goto parent     » topic index » view thread      » older message » newer message

Ignore my previous post, I figured it out. This was just what I wanted.
Thanks it works perfect.
                                            Bret

Mike Fowler wrote:

> Howdy Bret,
>
> Everyone else has been doing things the long way as far as I see it.
> Why not let windows do it for you?
>
> All you have to do is add these two constants to your code (or into
> win32lib if you like) and you're home and hosed.
>
> In fact - here's a whole pile of constants David left out. Enjoy!
>
> -- mikes WIN32LIB additions
>
>     ES_LOWERCASE    = 16,
> -- convert text to lowercase
>
>     ES_UPPERCASE    = 8,
> -- convert text to uppercase
>
>     ES_NOHISESEL    = 256,
> -- show selection, even when not active
>
>     ES_NUMBER       = #2000,
> -- only allow numbers
>
>     ES_OEMCONVERT   = #400,
> -- something... ;)
>
>     ES_PASSWORD     = 32,
> -- displays * instead of chars
>
>     ES_READONLY     = #800,
> -- user cant type into here...
>
>     ES_WANTRETURN   = 4096,
> -- adds a \n to the returned text
>
> Happy coding :)
> ==
> Mike Fowler - wildcat_nz at yahoo.com  o__ ---
> wildcat_nz at yahoo.com               _,>/'_ ---
> "the limitations are limitless"   (_) \(_) ---
>  - Beck
>
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu