ComboBox* FormWindow::CreateComboBox(const char* lbl_text, int ax, int ay, int aw, int ah, DWORD aid, DWORD pid) { ComboBox* combo = 0; ActiveWindow* parent = this; if (pid) parent = FindControl(pid); combo = new(__FILE__,__LINE__) ComboBox(parent, ax, ay, aw, ah, aid); if (combo) { combo->SetForm(this); combo->SetLabel(lbl_text); if (!shown) combo->Hide(); } return combo; }