Hi everybody,
I want to establish a connection to an .mdb database through Microsoft Jet engine, using DAO. I have a dialog based application and in the OnInitDialog() function I inserted the line
CDaoDatabase* pdb = new CDaoDatabase();
But the compiler doesn't seem to know what CDaoDatabase...
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...
In a dialog box, I have a tab control with 2 tabs. How can I place another control, say a combobox, in one of those tabs? (so it will be visible just into that tab, not into the other as well.) Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.