Jump to content

Recommended Posts

Posted (edited)

 

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

This function works for all control on Application, not for one control.

Try this: 

DllCall("UxTheme.dll", "int", "SetWindowTheme", "hwnd", GUICtrlGetHandle($hCtrl), "wstr", 0, "wstr", 0)

 

Edited by VIP

Regards,
 

Posted

No, i was talking about the first dllcall: 

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

if you have a form with 5 buttons and you call it at the, let's say.. 3d button, the the 2 last buttons are in the old style

i was just experimenting with it, that's all i meant with that :)
and your dllcall works fine, made a function for it: _GuiCtrlDisableVS($hCtrl)

again, tnx

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
×
×
  • Create New...