I wrote the following code, but the ComboBox doesn't display. Is the same thing for any other control.
CComboBox c;
c.Create(WS_CHILD | WS_VISIBLE, CRect(10, 10, 50, 50), this, 1047);
c.ShowWindow(SW_SHOW); // this should be the default, anyway
The Create() function returns TRUE, I checked. So what is missing / wrong?
CComboBox c;
c.Create(WS_CHILD | WS_VISIBLE, CRect(10, 10, 50, 50), this, 1047);
c.ShowWindow(SW_SHOW); // this should be the default, anyway
The Create() function returns TRUE, I checked. So what is missing / wrong?