Dae Posted January 9, 2007 Share Posted January 9, 2007 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? Link to comment Share on other sites More sharing options...
magician13134 Posted January 9, 2007 Share Posted January 9, 2007 What happens when you compile? (Ctrl+F7) Visit Magic Soft Inc. for some of my software Link to comment Share on other sites More sharing options...
Helge Posted January 9, 2007 Share Posted January 9, 2007 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) Link to comment Share on other sites More sharing options...
BrettF Posted January 9, 2007 Share Posted January 9, 2007 What happens when you compile? (Ctrl+F7)weird... Never happend to me. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Dae Posted January 9, 2007 Author Share Posted January 9, 2007 (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 January 9, 2007 by Dae Link to comment Share on other sites More sharing options...
Dae Posted January 9, 2007 Author Share Posted January 9, 2007 Nobody knows? This is pretty strange... Link to comment Share on other sites More sharing options...
Helge Posted January 9, 2007 Share Posted January 9, 2007 (edited) Could you post pictures or code ? Edited January 9, 2007 by Helge Link to comment Share on other sites More sharing options...
Dae Posted January 9, 2007 Author Share Posted January 9, 2007 (edited) SciTE Folder Edited January 9, 2007 by Dae Link to comment Share on other sites More sharing options...
Dae Posted January 9, 2007 Author Share Posted January 9, 2007 Bump before sleep~ Link to comment Share on other sites More sharing options...
ChrisL Posted January 9, 2007 Share Posted January 9, 2007 SciTE FolderThe one on the left is using XP styles with rounded corners the one on the right isn't, it's using classic windows styles [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Dae Posted January 9, 2007 Author Share Posted January 9, 2007 The one on the left is using XP styles with rounded corners the one on the right isn't, it's using classic windows stylesYes, 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 More sharing options...
NeoFoX Posted January 9, 2007 Share Posted January 9, 2007 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] Link to comment Share on other sites More sharing options...
Dae Posted January 9, 2007 Author Share Posted January 9, 2007 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 More sharing options...
Dae Posted January 9, 2007 Author Share Posted January 9, 2007 lol.... Link to comment Share on other sites More sharing options...
ChrisL Posted January 9, 2007 Share Posted January 9, 2007 lol....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 [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Dae Posted January 10, 2007 Author Share Posted January 10, 2007 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 themeWHY 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 More sharing options...
Psibernetic Posted January 10, 2007 Share Posted January 10, 2007 are you perhaps using Windows XP MCE? perhaps that theme is the problem [sup]Psibernetic[/sup]My Creations:X-HideSecuracy Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now