INF: Switching Between Single and Multiple List Boxes

ID Number: Q57959

2.03 2.10 3.00 3.10

WINDOWS

Summary:

After creating a list box with the CreateWindow function, changing the

list box from a single selection to a multiple selection can be

accomplished in the following way:

Create two hidden list boxes in the .RC file, and during the

WM_INITDIALOG routine, display one of the boxes. Change between the

two by making one hidden and the other one visible using the

ShowWindow function.

Additional reference words: 2.03 2.10 2.x 3.00 3.10 3.x createwindow