I guess you want to know whether I call the code before or after the CDialog::OnInitDialog()...
Here's my OnInitDialog:
BOOL CDataConversionDlg::OnInitDialog()
{
CDialog::OnInitDialog();
//...
SetControlStates(); // <= this function calls the code
return TRUE;
}
void...
The place I call the code above is in a dialog function that is invoked by OnInitDialog...
It must be something else, maybe some weird VC++ setting? B-(
By the way: I don't have the IDC_GROUPBOX mapped to a value or control (in DoDataExchange).
Hi there!
I want to enable/disable a group box.
Since a groupbox is in fact a CButton I thought that it would be easy using code like:
GetDlgItem(IDC_GROUPBOX)->EnableWindow(true);
or
CButton* grb = (CButton*) GetDlgItem(IDC_GROUPBOX);
grb->EnableWindow(true);
I even tried a CWnd*...
Hi,
HELP!!!!!!
I'm using CR4.6 that shipped with Visual Studio 6 (C++). I'm encoutering huge performance problems with CR, because the base query used in the report (like in the Show SQL window in CRW) retrieves a lot of records (10K+). Printing one report takes about 6 minutes. The report is...
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.