Asked By ChangChiTheGraphics
29-Dec-09 09:38 AM

Hi,
I have a dialog box which contains a Listview box and a TreeView box inside it
I like to change the size of the ListView box and the size of TreeView box by
dragging mouse cursor and do it independently of the parent dialog box
Essentially, it seems that I need an equivalent of WS_THICKFRAME for
ListView box.
I am recreating what Windows Explorer does,i.e. we can change the width
of the ListView box or TreeView box.
I would appreciate help.
My code sample is shown below.
AC16MLESS DIALOGEX 50, 30, 401, 276
STYLE DS_SETFONT | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE |
WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_OVERLAPPEDWINDOW
MENU PREVEXPLORER
FONT 8, "MS Sans Serif", 400, 0, 0x0
BEGIN
CONTROL "",IDC_LIST4,"SysListView32",LVS_LIST | LVS_SINGLESEL |
LVS_SHOWSELALWAYS | LVS_SHAREIMAGELISTS |
LVS_AUTOARRANGE | LVS_NOSORTHEADER | WS_BORDER |
WS_TABSTOP,152,50,222,182,WS_EX_ACCEPTFILES
END
Thank you,
ChangChiTheGraphics