harmor 0 Posted October 21, 2010 (edited) I want to check if a pop-up dialog appears. The title is random so I looked into using "Class" but since the main window and the pop-up use the same class I cannot use that approach. I did notice the "Style", "Exstyle", and "Handle" are different and was wondering if I could use something like... if Style = "0x960A0000" Then ;Code here Endif Edited October 21, 2010 by harmor Share this post Link to post Share on other sites
KaFu 295 Posted October 21, 2010 You can detect the styles with _WinAPI_GetWindowLong... #Include <WinAPI.au3> #Include <Constants.au3> $hWnd = WinGetHandle("[ACTIVE]", "") msgbox(0,""",_WinAPI_GetWindowLong($hWnd, $GWL_STYLE) & @crlf & _WinAPI_GetWindowLong($hWnd, $GWL_EXSTYLE)) OS: Win10-1909 - 64bit - German, AutoIt Version: 3.3.14.5, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2019-Dec-21) BIC - Batch-Image-Cropper (2019-Dec-11) COP - Color Picker (2009-May-21) HMW - Hide my Windows (2018-Sep-16) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2019-Dec-07) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Share this post Link to post Share on other sites