|
-
Aug 29th, 2005, 09:02 PM
#1
-
Aug 29th, 2005, 09:10 PM
#2
Re: Snippet to modify Title Bar look
Where did this come from? If it's a standard Print Preview dialogue then it's my guess that the user has changed the theme in Windows itself, rather than the developer having done something special.
-
Aug 29th, 2005, 09:10 PM
#3
Re: Snippet to modify Title Bar look
What Windows Theme is that?
-
Aug 29th, 2005, 09:17 PM
#4
Re: Snippet to modify Title Bar look
Who knows? There are several gazillion themes available for many different theming utilities. I've a sneaking suspicion I may have seen it when I used to use StyleXP, but that was a while ago so I might be making that up.
-
Aug 29th, 2005, 09:19 PM
#5
Re: Snippet to modify Title Bar look
Isn't there any snippet in VB.Net that could transform title bars into something like that? Like VisualStyle or something?
-
Aug 29th, 2005, 09:30 PM
#6
Re: Snippet to modify Title Bar look
See my posts in this thread. The process would not be a snippet as it is a bit involved. It entails either drawing on the VS layer or substituting the used VS for one of your own.
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 29th, 2005, 09:33 PM
#7
Re: Snippet to modify Title Bar look
Using visual styles in your app simply applies the current XP theme to all your controls. If you apply a theme to XP that looks like that, then all your forms that use visual styles will look like that. If you want to do it to an individual form without an XP theme, you would have to look at using a skinning component, although I'm not sure how much control they have over the non-client area of the form. The other alternative is to remove the border and draw your own title bar.
-
Aug 29th, 2005, 09:42 PM
#8
Re: Snippet to modify Title Bar look
Yes, I do mention that the substituted caption will be applied to all windows although you could possibly create your own caption and designate your own drawing constant for it. No, I havent successfully done it yet but the theory is there.
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 29th, 2005, 09:48 PM
#9
Re: Snippet to modify Title Bar look
Sorry Rob. My post #7 was made without having seen your post #6. You posted while I was still fuddling my way around the keyboard.
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
|