|
-
Aug 16th, 2007, 03:18 AM
#1
SSTAB - How can you have the ToolTip change when mouse hovers over unselected tabs
I am having a problem that does not seem to have an answer. I want the tooltips to change when the user moves the mouse over tabs that do not have the focus. Can this be done?
-
Aug 16th, 2007, 03:26 AM
#2
Re: SSTAB - How can you have the ToolTip change when mouse hovers over unselected tabs
Your best bet will be to use subclassing of the sstab control and possibly calculating the mouse coordinates to determine the position of the mouse if its over a tab or not. The tabs are all one window of the entire sstab control so its something that will not be separated by child windows or anything like that.
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 
-
Aug 16th, 2007, 03:29 AM
#3
Re: SSTAB - How can you have the ToolTip change when mouse hovers over unselected tabs
Yeah, I figure that and was hoping someone else had encountered this situation and had code for it. It seems like a lot of work for such a small gain...
-
Aug 16th, 2007, 03:33 AM
#4
Re: SSTAB - How can you have the ToolTip change when mouse hovers over unselected tabs
Well thats what I think too but I just looked into it with spy++ to determine its window structure. If it had child windows for the tabs and/or tab pages then it would be allot easier but perhaps someone else may have tsome experience with this type of issue.
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 
-
Aug 16th, 2007, 03:36 AM
#5
Re: SSTAB - How can you have the ToolTip change when mouse hovers over unselected tabs
I just get stuck on figuring out the tab coordinates... Especially after I resize the form...
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
|