Sign in to follow this  
Followers 0
Dae

GUI

17 posts in this topic

When I Build a GUI and click Go from the menu, it looks all nice, but when I run the file directly from the folder it looks ugly and text is cut off a bit. Whats up?

Share this post


Link to post
Share on other sites



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)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

Nobody knows? This is pretty strange...

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Could you post pictures or code ?

Edited by Helge

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

SciTE Posted Image Folder

Edited by Dae

Share this post


Link to post
Share on other sites

Bump before sleep~

Share this post


Link to post
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.

Share this post


Link to post
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


[center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center]

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

lol....

Share this post


Link to post
Share on other sites

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

are you perhaps using Windows XP MCE? perhaps that theme is the problem


[sup]Psibernetic[/sup]My Creations:X-HideSecuracy

Share this post


Link to post
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
Sign in to follow this  
Followers 0