Jump to content

Deleting a GUI Style

Recommended Posts

I think you can just send the new style with GUISetStyle() leaving out the style you no longer want assuming it's a self built gui and not an exteral application.

If its an external application take a look at _WinAPI_SetWindowLong()

Link to comment
Share on other sites

This should work for AutoIt Windows:

; Author: Prog@ndy

Func _GUIdeleteStyle($Style,$ExStyle,$GUI)
    $OldStyle = GUIGetStyle($GUI)
    If Not IsArray($OldStyle) Then Return 0
    Return GUISetStyle(BitAND($OldStyle,BitNOT($Style)),BitAND($ExStyle,BitNOT($ExStyle)),$GUI)
EndFuncoÝ÷ ØLmz¹Ú«­¢+Øì9½Éµ°MÑå±è(ÀÌØí¡]¹ôÀÌØí]¥¹½Ý¡¹±(ÀÌØíMÑå±Q½Iµ½ÙôÀÌØí]M}A=AU@)}]¥¹A%}]¥¹½Ý1½¹ ÀÌØí¡]¹°ÀÌØí]1}MQe1°  ¥Ñ9¡}]¥¹A%}Ñ]¥¹½Ý1½¹ ÀÌØí¡]¹°ÀÌØí]1}MQe1¤° ¥Ñ9=P ÀÌØíMÑå±Q½Iµ½Ù¤¤¤((íáMÑå±è(ÀÌØí¡]¹ôÀÌØí]¥¹½Ý¡¹±(ÀÌØíMÑå±Q½Iµ½ÙôÀÌØí]M}a}QI9MAI9P)}]¥¹A%}]¥¹½Ý1½¹ ÀÌØí¡]¹°ÀÌØí]1}aMQe1° ¥Ñ9¡}]¥¹A%}Ñ]¥¹½Ý1½¹ ÀÌØí¡]¹°ÀÌØí]1}aMQe1¤°    ¥Ñ9=P ÀÌØíMÑå±Q½Iµ½Ù¤¤¤
Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

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

  • Recently Browsing   0 members

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