Jump to content

Recommended Posts

Posted (edited)

Hi.

I Have got one question. :mellow:

How i can change button style to Win 98?

Look this: Posted Image

Please help me.

P.S. Sorry for my little english ,but i am from poland :)

Edited by power2anger
Posted

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 to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Posted (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 by monoscout999

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
  • Recently Browsing   0 members

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