Jump to content

Scrollbars in menu?


VAN0
 Share

Recommended Posts

Hello.

Is there a way show scrollbars instead of up/down buttons in menu?

Thank you.

 

#include <GUIConstantsEx.au3>

Example()

Func Example()
    GUICreate("My GUI menu", 300, 200)
    Local $iMenu = GUICtrlCreateMenu("Menu")
    For $i = 1 To 200
        GUICtrlCreateMenuItem($i, $iMenu)
    next
    GUISetState(@SW_SHOW)

    While 1
        Switch GUIGetMsg()
            Case $GUI_EVENT_CLOSE
                ExitLoop
        EndSwitch
    WEnd
    GUIDelete()
EndFunc   ;==>Example

 

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...