power2anger Posted August 16, 2011 Share Posted August 16, 2011 (edited) Hi.I Have got one question. How i can change button style to Win 98?Look this: Please help me.P.S. Sorry for my little english ,but i am from poland Edited August 16, 2011 by power2anger Link to comment Share on other sites More sharing options...
funkey Posted August 16, 2011 Share Posted August 16, 2011 This function should help: Func _RemoveTheme($hCtrl) If Not IsHWnd($hCtrl) Then $hCtrl = GUICtrlGetHandle($hCtrl) If IsHWnd($hCtrl) Then Local $aR = DllCall("UxTheme.dll", "Long", "SetWindowTheme", "HWND", $hCtrl, "Ptr", 0, "WStr", " ") If Not @error And $aR[0] = 0 Then Return True EndIf Return False EndFunc Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
power2anger Posted August 16, 2011 Author Share Posted August 16, 2011 (edited) This function not working ,or i doing something wrong. Can You give me example with a simple GUI? Edited August 16, 2011 by power2anger Link to comment Share on other sites More sharing options...
monoscout999 Posted August 16, 2011 Share Posted August 16, 2011 (edited) This function not working ,or i doing something wrong.Can You give me example with a simple GUI?Is much nice if the person that start the thread post a code to work with, imagine the people that make support have to write a script for every post. please make us this job(?) easy. Edited August 16, 2011 by monoscout999 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