I have 4 folders on a form that have embeded dialogs and PARTS is one of them and all have defined WS_VSCROLL :
- Code: Select all Expand view
PARTS DIALOG 13, 18, 347, 128
STYLE WS_CHILD | 0x4
{
CONTROL "", 111, "TWBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 48, 3, 292, 114
PUSHBUTTON "&Add Parts", 114, 3, 9, 39, 14
PUSHBUTTON "&Edit Parts", 115, 3, 25, 39, 14
PUSHBUTTON "&Del Parts", 116, 3, 41, 39, 14
}
- Code: Select all Expand view
WORKORD DIALOG 22, 9, 407, 277
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_THICKFRAME
FONT 8, "MS Sans Serif"
{
EDITTEXT 125, 6, 18, 29, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 120, 38, 18, 36, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 117, 79, 18, 49, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 118, 132, 18, 51, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 119, 204, 18, 27, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 121, 235, 18, 42, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 132, 281, 18, 49, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 122, 235, 41, 95, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 131, 235, 55, 48, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 145, 235, 81, 48, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 135, 235, 95, 48, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 123, 79, 41, 49, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 126, 132, 41, 28, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 129, 79, 55, 49, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 130, 132, 55, 28, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 124, 79, 68, 81, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 133, 79, 81, 81, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 134, 34, 95, 126, 12, WS_BORDER | WS_TABSTOP
LTEXT "Serial#", -1, 177, 41, 53, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
EDITTEXT 128, 349, 18, 45, 12, WS_BORDER | WS_TABSTOP
CONTROL "", 110, "SysTabControl32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 118, 386, 122
PUSHBUTTON "&Quit", 112, 356, 33, 40, 22
PUSHBUTTON "&Print", 127, 356, 70, 40, 13
EDITTEXT 140, 63, 248, 38, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 141, 135, 248, 36, 12, WS_BORDER | WS_TABSTOP
LTEXT "Total", -1, 325, 248, 27, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
EDITTEXT 142, 354, 248, 43, 12, WS_BORDER | WS_TABSTOP
PUSHBUTTON "C&lose WO", 143, 356, 83, 40, 13
PUSHBUTTON "&Reopen", 144, 356, 96, 40, 13
PUSHBUTTON "&Void WO", 146, 312, 96, 40, 13
EDITTEXT 147, 207, 248, 37, 12, WS_BORDER | WS_TABSTOP
EDITTEXT 150, 280, 248, 38, 12, WS_BORDER | WS_TABSTOP
PUSHBUTTON "&Memo", 151, 312, 83, 40, 13
EDITTEXT 152, 235, 68, 48, 12, WS_BORDER | WS_TABSTOP
LTEXT "Odometer IN", -1, 177, 55, 53, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Odometer OUT", -1, 177, 68, 53, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Program Area", -1, 177, 81, 53, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Technician", -1, 177, 95, 53, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Date / Time IN", -1, 7, 41, 66, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Date / Time OUT", -1, 7, 55, 66, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Contact Person", -1, 7, 68, 66, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Contact Phone", -1, 7, 81, 66, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Re:", -1, 7, 95, 22, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Shop ID", -1, 6, 4, 29, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "License Make Model Year Vnumb EqpTp ", -1, 39, 4, 291, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Parts Total", -1, 7, 248, 49, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Tires", -1, 251, 248, 27, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Outside", -1, 178, 248, 27, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
LTEXT "Labor", -1, 106, 248, 27, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
PUSHBUTTON "&Edit WO", 153, 356, 57, 40, 13
LTEXT "Work Order", -1, 349, 4, 45, 12, SS_NOPREFIX | WS_BORDER | WS_GROUP
You will notice I have the folder defined
- Code: Select all Expand view
CONTROL "", 110, "SysTabControl32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 8, 118, 386, 122
Just noticed that the verticle scroll bar does not appear in the folder dialogs and it is impossible to scroll down the listbox.
What am I doing wrong ??
Thanks
Rick Lipkin