Mercurial > dwindows
diff os2/dw.c @ 350:2216e65ad2ae
Removed slider flags and container selection flags from the header file.
Added "multi" parameter to dw_container_new() to control multiple
selection.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 14 Apr 2003 13:47:20 +0000 |
parents | 0137c30f485e |
children | fb2667339e9f |
line wrap: on
line diff
--- a/os2/dw.c Sun Apr 13 09:04:50 2003 +0000 +++ b/os2/dw.c Mon Apr 14 13:47:20 2003 +0000 @@ -3941,14 +3941,15 @@ * id: An ID to be used for getting the resource from the * resource file. */ -HWND API dw_container_new(ULONG id) +HWND API dw_container_new(ULONG id, int multi) { WindowData *blah = calloc(1, sizeof(WindowData)); HWND tmp = WinCreateWindow(HWND_OBJECT, WC_CONTAINER, NULL, WS_VISIBLE | CCS_READONLY | - CCS_SINGLESEL | CCS_AUTOPOSITION, + (multi ? CCS_EXTENDSEL : CCS_SINGLESEL) | + CCS_AUTOPOSITION, 0,0,2000,1000, NULLHANDLE, HWND_TOP,