Results 1 to 10 of 10

Thread: [2005]XP Visual Styles On Win2K PC!

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    [2005]XP Visual Styles On Win2K PC!

    We are told that Enableling Visual styles is an xp thing. So the XP visual styles only work on WinXP and not any earlier OS. My App is developed on a WinXP Machine with Visual Styles enabled in my VS IDE.
    It also uses some custom dlls which i have XP visual styles! And unlike the common Windows Controls, they show perfectly well on my Win2K OS PC. How can i achive this?
    I know it can be achieved.

  2. #2
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    Re: [2005]XP Visual Styles On Win2K PC!

    If these dlls are custom controls that someone has created, then they have drawn them to look like XP controls. If you want all your controls to look like XP controls, no matter what OS you would have to draw them yourself.
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Re: [2005]XP Visual Styles On Win2K PC!

    I deployed my application on an xp machine of my BOSS. Little did i know that the guy had changed his theme to classic themes.
    When my application launched, my controls were displayed as old OS controls without XP theme styles. I had to go and download Skybound visualstyles, tested and it was still the same thing....i had started *****ing my hair then i realised the classic thems.

    I wonder is there any free control or dll out there that favours XP visual styles on both XP machines and older OS!!!

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: [2005]XP Visual Styles On Win2K PC!

    The fact that you're calling them "XP visual styles" should give you a clue. Visual styles is an XP feature that flat-out doesn't exist on other earlier versions of Windows. Will you be surprised when XP doesn't support the fancy graphics of Vista? If you want your controls to look a certain way not matter the OS then you must draw them yourself on every OS and not rely on visual styles at all, which has already been stated by mpdeglau.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Re: [2005]XP Visual Styles On Win2K PC!

    But changing the theme of Windows XP to classic theme is which feature!!
    Just hardware feature!!

  6. #6
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [2005]XP Visual Styles On Win2K PC!

    Don't force the user. I like the Classic theme, if an application imposes XP styles on me I won't use it.

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Re: [2005]XP Visual Styles On Win2K PC!

    hehe....i too love it. but it may look confusing to those who dont like older OS.

  8. #8
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [2005]XP Visual Styles On Win2K PC!

    Yes, you are confusing.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    May 2006
    Posts
    426

    Re: [2005]XP Visual Styles On Win2K PC!

    Gheeeeeeeeeee!!

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [2005]XP Visual Styles On Win2K PC!

    First of all, eveeryone is telling you correct info. You can not have XP themes on anything other then Windows XP. If you want you can manually draw them to look similar using GDI+ but its allot of work. Themes in XP are not necessarily a function or control but a drawing process that occurs before a window is rendered. This is just like manually drawing the graphics yourself. so if you want similar "themes" in 2000 then I suggest you read up on GDI+.
    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width