|  | 
| Hint Text | 
| Post Reply   | 
| Author | |
| ScottW   Groupie   Joined: 02 August 2005 Status: Offline Points: 82 |  Post Options  Thanks(0)  Quote  Reply  Topic: Hint Text Posted: 30 April 2015 at 1:16pm | 
| 
   Is it possible to show Hint Text in the FlatEdit control when no user data exists? Kind of like how the Search box in FireFox shows the word "Search" in grey until you start typing something in there.  If not, please consider this for a future update. It would be cool to have a .HintText property for this. Could be useful in the ComboxBox as well. Thanks | |
|  | |
| cpede   Senior Member   Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |  Post Options  Thanks(0)  Quote  Reply  Posted: 30 April 2015 at 3:23pm | 
| 
   I believe that it is derived from CEdit, and therefore you should be able to call: CEdit::GetCueBanner.
    | |
| 
     Product: Xtreme ToolkitPro (24.0.0)  Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) | |
|  | |
| ScottW   Groupie   Joined: 02 August 2005 Status: Offline Points: 82 |  Post Options  Thanks(0)  Quote  Reply  Posted: 30 April 2015 at 7:16pm | 
| 
   Can it be done in the ActiveX edition? | |
|  | |
| cpede   Senior Member   Joined: 13 August 2004 Location: Denmark Status: Offline Points: 683 |  Post Options  Thanks(0)  Quote  Reply  Posted: 01 May 2015 at 4:52am | 
| 
   Oh, sorry did not see that it was in the ActiceX section. If you can send a standard windows message to the control you can send EM_SETCUEBANNER ?
    | |
| 
     Product: Xtreme ToolkitPro (24.0.0)  Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) | |
|  | |
| gibra   Senior Member   Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |  Post Options  Thanks(0)  Quote  Reply  Posted: 02 May 2015 at 6:51pm | 
| Something like this:    (images refer to C#, not to VB6)  VB6 come with usefull add-in named: Wizard ActiveX Control Interface Some examples: Creating a Simple User Control with Visual Basic http://www.codeguru.com/columns/vb/creating-a-simple-user-control-with-visual-basic.htm Create Own User Control - Basic Steps. - Visual Basic Tutorials http://www.dreamincode.net/forums/topic/134432-create-own-user-control-basic-steps/ | |
| 
     gibra CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 | |
|  | |
| ScottW   Groupie   Joined: 02 August 2005 Status: Offline Points: 82 |  Post Options  Thanks(0)  Quote  Reply  Posted: 03 May 2015 at 10:36am | 
| 
   SendMessage with EM_SETCUEBANNER worked fine. Thanks! | |
|  | |
| gibra   Senior Member   Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |  Post Options  Thanks(0)  Quote  Reply  Posted: 03 May 2015 at 2:49pm | 
| 
 Can you show the complete solution? Thank. | |
| 
     gibra CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |