cramaboule Posted December 19, 2024 Posted December 19, 2024 Hello, I am looking a way to retrieve the Style of a button (enable / disable) in an external program (installer) I saw many exemple to get the window style but not for a control (especially a button) Someone give me a hint, please ? 0x58010000 is disabled 0x50010000 is enable C. My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website
ioa747 Posted December 19, 2024 Posted December 19, 2024 (edited) The style has nothing to do with the (enable / disable) , look for ControlEnable Edited December 19, 2024 by ioa747 I know that I know nothing
Solution Nine Posted December 19, 2024 Solution Posted December 19, 2024 You can use the same api with windows and controls : Local $iStyle = _WinAPI_GetWindowLong($hCtrl, $GWL_STYLE) “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
cramaboule Posted December 19, 2024 Author Posted December 19, 2024 19 minutes ago, ioa747 said: The style has nothing to do with the (enable / disable) , look for ControlEnable couldn't make it working 😞 My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website
cramaboule Posted December 19, 2024 Author Posted December 19, 2024 11 minutes ago, Nine said: You can use the same api with windows and controls : Local $iStyle = _WinAPI_GetWindowLong($hCtrl, $GWL_STYLE) Yesssss, it works. I didn't know it does both!!!!!! 😁 My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website
Nine Posted December 19, 2024 Posted December 19, 2024 1 minute ago, cramaboule said: I didn't know it does both! Lots of Windows API can do both (but it is not well documented). “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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