Postmessage api vba2/13/2023 If this is -1, all items in the list box are selected or deselected.Ĭhange the selection in list box List1 so that the only selected items are the first and third items. LParam The zero-based index of the item to select or deselect. If this is a non-zero value, the item is selected. WParam If this is zero, the item is deselected. If an error occured, the message returns LB_ERR. For a single-selection list box, sned the LB_SETCURSEL message instead. Alternatively, the message can select or deselect all of the items simultaneously. Sending the LB_SETSEL to a multiple-selection list box selects or deselects one of its items.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |