Jump to content

The LIST control size changing in vertical is leaping


Recommended Posts

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 by September
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
 Share

  • Recently Browsing   0 members

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