Code: Select all
ctrlFiletype.Create(m_hWnd, rcDefault, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN |
WS_HSCROLL | WS_VSCROLL | CBS_DROPDOWNLIST, WS_EX_CLIENTEDGE);
fileTypeContainer.SubclassWindow(ctrlFiletype.m_hWnd);
The other option which I toyed with and ran into the same situation on is creating a basic CEdit textbox, then sticking a CUpDownCtrl right next to it and somehow linking them. Once again, a lack of knowledge about these parameters got me, and I'm stuck.
Summing up what I'm looking for:
A declaration/creation routine for a CDateTimePickCtrl (never did find a picture of one to know if this is really what I wanted).
Alternative method: A declaration for an CUpDownlCtrl with two small arrows, one up and one down, and a head start in how to link that with a text box.
- Gratch06