Jump to content

GUI


Dae
 Share

Recommended Posts

Looks like in SCiTE it's using the Win XP theme, but when I run it from the folder its using some old Win 98 or 2000 theme.

What happens when you compile? (Ctrl+F7)

Same thing.

You must have specified another version in Scite than the one that's used when starting it from

explorer. Put the following code on the top of your code and run it from both Scite and explorer.

MsgBox(64, "", @AutoItVersion)
Same version. Edited by Dae
Link to comment
Share on other sites

The one on the left is using XP styles with rounded corners the one on the right isn't, it's using classic windows styles

Yes, I know that, and I actually mentioned that. The question is why? I want the program to be using win xp styles when run from the folder, like when its run from SciTE.

All my windows are using the win styles, except this program when I run it from the folder. I had both of those windows beside eachother in the screenshot, I didn't copy and paste them together.

Link to comment
Share on other sites

DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 1)

try putting this in the top...

when you change the 1 into a 0 it will use the old styles..

Neo

That made it old style when run from both SciTE and the folder. I tried using 0 instead of 1 too, but no go. That statement makes it appear old style.
Link to comment
Share on other sites

Link to comment
Share on other sites

Well the next question is does it do the same on someone elses computer.

I'd hazzard a guess at no, in which case it must be a setting in your computer that is stopping the xp theme

WHY IS IT DOING THIS TO ME!!!

I don't have any settings to use the old theme. Everything is set to xp theme.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...