September Posted August 13, 2023 Share Posted August 13, 2023 (edited) If you are sizing the window size in vertical, you can see the LIST control is leaping, how to make it smooth ike the LISTVIEW control? #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Example() Func Example() GUICreate("My GUI list", 300, 300, -1, -1, _ BitOR($WS_MINIMIZEBOX, $WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_BORDER, $WS_THICKFRAME), _ BitOR($WS_EX_APPWINDOW,$WS_EX_TOPMOST,$WS_EX_WINDOWEDGE)) Local $idMylist = GUICtrlCreateList("This is List", 0, 0, 148, 270) Local $idListview = GUICtrlCreateListView("This is ListView ", 152, 0, 148, 270) GUISetState(@SW_SHOW) ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Exit EndSwitch WEnd EndFunc ;==>Example Edited August 13, 2023 by September Link to comment Share on other sites More sharing options...
September Posted August 13, 2023 Author Share Posted August 13, 2023 Seems the $LBS_NOINTEGRALHEIGHT is the solution. argumentum 1 Link to comment Share on other sites More sharing options...
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