I used to have 3D buttons but not in 2026

Desmond O'Toole 11 Reputation points
2026-08-06T11:45:56.3433333+00:00

I used to use 3D buttons. These had a kind of drop shaddow effect so they would visualy go up and down. What I have now is just a flat button. On a visual basic forum I was told to

Right click on project and select properties

In application general, I am told to un-check "Enable XP visual styles" option. but I can't find it.

Developer technologies | Windows Forms

1 answer

Sort by: Most helpful
  1. Taki Ly (WICLOUD CORPORATION) 3,540 Reputation points Microsoft External Staff Moderator
    2026-08-07T03:01:05.3+00:00

    Hello @Desmond O'Toole ,

    Thank you for sharing the video.

    It is possible that your project is using a modern version of Visual Studio and .NET. In these newer templates, the application settings have been redesigned, which explains why the "Enable XP visual styles" checkbox is no longer available in the Project Properties window.

    To restore the classic 3D drop-shadow effect across your entire application, it might be beneficial to turn off the modern visual styles directly within your startup code. If you are using C#, you can try the following steps:

    1. Open the Program.cs file in your project via the Solution Explorer.
    2. Locate the static void Main() method.
    3. Look for a line of code that says either Application.EnableVisualStyles(); or ApplicationConfiguration.Initialize();.
    4. Try commenting out or deleting that specific line.

    By running the application without that line, the system should fall back to the older, classic Windows rendering, giving your buttons that 3D look you prefer.

    (Note: If your project is in VB.NET, this behavior is usually controlled within the Application Events or Application.myapp settings rather than Program.cs.)

    I hope this suggestion helps you achieve the visual style you are looking for. Please let me know how it goes or if you would like me to look into anything else. If you found my response helpful or informative, I would greatly appreciate it if you could follow this guide for your confirmation.

    Thank you.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.