PalWinSetExtMultiSelect

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber PalWinSetExtMultiSelect( SalWindowHandle hWndListBox )

The PalWinSetExtMultiSelect method turns on extended multi-select for a multi-select combo- or list box.

Parameters

Name Description
SalWindowHandle hWndListBox The handle (or name) of the list- or combo box to enable extended multi-select in.

Returns

This method does not return a value.

Comments

Extended multi-select allows the use of Shift and Ctrl keys to select items in the list.

Example

On SAM_Create
   Call SalSendClassMessage( hWndItem, wParam, lParam )
   Call PalWinSetExtMultiSelect( hWndItem )
C# coding
private void lbConsoleText_OnWM_NCCREATE(ref SalMessage message)
{
	#region Actions
	message.Handled = true;
	Vis.ListSetStyle(this.lbConsoleText, Vis.LBS_VisExtensions, Sys.lParam);
	Int.PalWinSetExtMultiSelect(this.lbConsoleText);
	#endregion
}