Microsoft Edge Try Microsoft Edge A fast and secure browser that's designed for Windows 10 Get started

This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Microsoft
Windows Dev Center
    • .NET
      • Apps
      • Internet of Things
      • Mixed Reality
      • Microsoft Edge
      • Hardware
      • IT Center
      • What is Azure
      • Products
      • Solutions
      • Pricing
      • Create a free account
      • Visual Studio
      • Visual Studio IDE
      • Visual Studio Team Services
      • Visual Studio Code
      • Xamarin
      • Visual Studio Dev Essentials
      • Subscriptions
      • Office Dev Center
      • Office 365 for IT pros
    • Microsoft Graph
      • Store
      • Cortana
      • Bing
      • Application Insights
      • .NET
      • Microsoft Azure
      • Microsoft Graph
      • Visual Studio
      • Visual Studio Team Services
      • Windows
      • Office
      • All Developer Centers
    • TechNet
    • Microsoft Developer Network
      • Windows IT Center
      • Office 365 for IT Pros
      • All IT TechCenters
      • Microsoft Download Center
      • Microsoft Azure
      • Visual Studio
      • SDKs
      • Windows
      • Office
      • Microsoft Graph
      • MSDN
      • Azure
      • Windows
    • PowerShell scripts
      • Microsoft Azure
      • Visual Studio
      • Visual Studio Team Services
      • Developer tools
      • Office Dev Blog
      • Server & management
      • Windows
      • Developers
      • TechNet
      • Microsoft Tech Community
      • Visual Studio (MSDN) subscriptions
      • Microsoft Cloud Essentials
      • Microsoft Virtual Academy
      • IT Pro Career Center
    • Microsoft Evaluation Center
    • Channel 9
    • No results
    Sign in
    Windows Dev Center Dashboard
    Windows desktopGet startedDesignDevelopTest & deploy
    • API reference
    • Downloads
    • Samples
    • Support
    Dashboard
    Control Library List Box List Box Control Reference
    List Box Control Reference List Box Macros
    List Box Macros
    List Box Macros
    List Box Functions
    List Box Macros
    ListBox_AddString
    ListBox_AddItemData
    ListBox_DeleteString
    ListBox_Dir
    ListBox_Enable
    ListBox_FindItemData
    ListBox_FindString
    ListBox_FindStringExact
    ListBox_GetCaretIndex
    ListBox_GetCount
    ListBox_GetCurSel
    ListBox_GetHorizontalExtent
    ListBox_GetItemData
    ListBox_GetItemHeight
    ListBox_GetItemRect
    ListBox_GetSel
    ListBox_GetSelCount
    ListBox_GetSelItems
    ListBox_GetText
    ListBox_GetTextLen
    ListBox_GetTopIndex
    ListBox_InsertItemData
    ListBox_InsertString
    ListBox_ResetContent
    ListBox_SelectItemData
    ListBox_SelectString
    ListBox_SelItemRange
    ListBox_SetCaretIndex
    ListBox_SetColumnWidth
    ListBox_SetCurSel
    ListBox_SetHorizontalExtent
    ListBox_SetItemData
    ListBox_SetItemHeight
    ListBox_SetSel
    ListBox_SetTabStops
    ListBox_SetTopIndex
    List Box Messages
    List Box Notifications
    List Box Structures
    List Box Constants
    TOC
    Collapse the table of content
    Expand the table of content
    This documentation is archived and is not being maintained.
    This documentation is archived and is not being maintained.

    List Box Macros

    In This Section

    • ListBox_AddString
    • ListBox_AddItemData
    • ListBox_DeleteString
    • ListBox_Dir
    • ListBox_Enable
    • ListBox_FindItemData
    • ListBox_FindString
    • ListBox_FindStringExact
    • ListBox_GetCaretIndex
    • ListBox_GetCount
    • ListBox_GetCurSel
    • ListBox_GetHorizontalExtent
    • ListBox_GetItemData
    • ListBox_GetItemHeight
    • ListBox_GetItemRect
    • ListBox_GetSel
    • ListBox_GetSelCount
    • ListBox_GetSelItems
    • ListBox_GetText
    • ListBox_GetTextLen
    • ListBox_GetTopIndex
    • ListBox_InsertItemData
    • ListBox_InsertString
    • ListBox_ResetContent
    • ListBox_SelectItemData
    • ListBox_SelectString
    • ListBox_SelItemRange
    • ListBox_SetCaretIndex
    • ListBox_SetColumnWidth
    • ListBox_SetCurSel
    • ListBox_SetHorizontalExtent
    • ListBox_SetItemData
    • ListBox_SetItemHeight
    • ListBox_SetSel
    • ListBox_SetTabStops
    • ListBox_SetTopIndex

     

     

    Show:
    Print Export (0)
    Print Share
    IN THIS ARTICLE
      Is this page helpful?
      Additional feedback?
      1500 characters remaining
      Thank you! We appreciate your feedback.
      What's new
      • New Surface Pro
      • Xbox One X
      • Xbox One S
      • Surface Laptop
      • Windows 10 apps
      • Office apps
      • Mixer
      Store & Support
      • Account profile
      • Download Center
      • Sales & support
      • Returns
      • Order tracking
      • Store locations
      • Support
      Education
      • Microsoft in education
      • Office for students
      • Office 365 for schools
      • Deals for students & educators
      • Microsoft Azure in education
      Enterprise
      • Microsoft Azure
      • Enterprise
      • Data platform
      • Find a solutions provider
      • Microsoft partner resources
      • Microsoft AppSource
      • Manufacturing & resources
      • Financial services
      Developer
      • Microsoft Visual Studio
      • Windows Dev Center
      • Microsoft Developer Network
      • TechNet
      • Microsoft Virtual Academy
      • Microsoft developer program
      • Channel 9
      • Office Dev Center
      Company
      • Careers
      • About Microsoft
      • Company news
      • Privacy at Microsoft
      • Investors
      • Diversity and inclusion
      • Accessibility
      • Security
      English (United States)
      • Sitemap
      • Contact us
      • Privacy & cookies
      • Terms of use
      • Trademarks
      • About our ads
      • © Microsoft 2017
      English
      Deutsch English Español Français
      Italiano 日本語 한국어 Português
      Pусский 简体中文 繁體中文
       
      © 2017 Microsoft