View previous topic :: View next topic |
Author |
Message |
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Oct 01, 2003 6:05 am Post subject: Cue Banner XP DSU |
|
|
Cue Banner XP DSU
=============
Cue Banners are probably the most non Intrusive way of
showing help about a edit box to a user in the editbox itself.
This is a new feature available on Win XP only.
Compiled to a DSU for easy use.
download here:
http://codescript.vdsworld.com/VDS5src/XP_CueBanner.zip
Enjoy! _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
Dr. Dread Professional Member
Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Oct 01, 2003 6:33 am Post subject: |
|
|
Hey CodeScript!
That one is really cool. I love it...
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Oct 01, 2003 7:09 am Post subject: |
|
|
Thanks Dread _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Wed Oct 01, 2003 4:51 pm Post subject: |
|
|
It sets a faded text as hint in the text box even if it has password style. And Once you click/enter something this will dissapear something similar to searchbox at VDSWORLD site but visually more appealing IMHO.
This API unfortunately is available in XP only and needs manifest enabled.
_________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Wed Oct 01, 2003 7:03 pm Post subject: |
|
|
I've done this before also by placing a shape element over the edit element
of the same placement and dimensions and then putting a text element
over the shape element. Also keep track of which element has the focus
so you can properly hide and show the elements to correspond.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Oct 01, 2003 11:12 pm Post subject: |
|
|
I've done this before just by going through a loop and checking if
it has focus. If it does, it removes the current text, as long as it
is equal to the "cue" that was originally there. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
CodeScript Moderator Team
Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Thu Oct 02, 2003 2:22 am Post subject: |
|
|
I appreciate your efforts doing that way
And for non XP systems that is the only way probably.
But for XP this one is neat becuase you just need to assign a cue banner to a edit box. Rest of all is taken care of by the Operating system and additionally it has a faded effect of XP which I like (some may hate it ?) _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Thu Oct 02, 2003 7:56 pm Post subject: |
|
|
CodeScript, I forgot to mention in my post before that this is an
excellent example! I too really like how first the effect is faded then
the inputted text is black. And it works with password fields too! _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
|