|
-
Jul 22nd, 2007, 02:43 PM
#1
Is there any solution to this? (ToolTip)
Hi everyone, it seems I can’t find any method to hide or clear instantly the ToolStripMenuButton’s ToolTip when the button is clicked. It hides the tooltip but not fast enough. When the button is clicked the app takes the screen shot of the desktop. I don’t want the tooltip appear in the image. Is there any solution to this? Any help is appreciated.
-
Jul 22nd, 2007, 03:53 PM
#2
Re: Is there any solution to this? (ToolTip)
What about disabling the topltips for the toolstrip or increasing the time needed for it to display initially.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 22nd, 2007, 04:16 PM
#3
Re: Is there any solution to this? (ToolTip)
Hi Rob, I what to show the toolTip message for the user to inform the buttn's reasion. Unfortunatly the ToolStripMenuButton's toolTip doesn't have the property for increasing the time interval.
-
Jul 22nd, 2007, 04:19 PM
#4
Re: Is there any solution to this? (ToolTip)
Nevermind, I was thinking of the tootip control. I supose you may be able to dispose of the tooltip window before calling your screenshot code. Using FindWindow and FindWindowEx will be what you want to look into. Or you could use the WndProc override to trap for the window message of the tooltip window being created and cancel it out.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 22nd, 2007, 07:33 PM
#5
Re: Is there any solution to this? (ToolTip)
or perhaps a delay before the screenshot is taken
-
Jul 22nd, 2007, 10:14 PM
#6
Re: Is there any solution to this? (ToolTip)
Thanks guys for the help. Rob perhaps the api would be solution but how I can Identify the tooltip window. I mean it doesn't have title, more over I don't know the class name.
Lord Orwell thanks for the reply, I think the delay is no less than 500 milliseconds. It would be very slow process, I can't afford it.
-
Jul 22nd, 2007, 10:16 PM
#7
Re: Is there any solution to this? (ToolTip)
If you have MS SPy++ you can track the messages from just the toolbar and see what you can detect.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 22nd, 2007, 11:21 PM
#8
Re: Is there any solution to this? (ToolTip)
it is there that long? Try putting a doevents in the keypress event so the pending messages are processed. It is possible that the code is just too busy to hide the tooltip.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|