void ppModelEvaluation::OnBnClickedRadio3() { UpdateData(TRUE); if (m_singleModelRun==WH_SINGLE_SIMULATION) ChangeVisibility(FALSE); else ChangeVisibility(TRUE); }
void ppModelEvaluation::OnBnSetfocusRadiomonte() { UpdateData(TRUE); if (m_singleModelRun==WH_SINGLE_SIMULATION) ChangeVisibility(FALSE); else ChangeVisibility(TRUE); }
BOOL ppModelEvaluation::OnInitDialog() { CPropertyPage::OnInitDialog(); ChangeVisibility(FALSE); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }
void __fastcall TStylesMultiDemoMainForm::RadioGroupClick(TObject *Sender) { switch (((TcxRadioGroup*)Sender)->ItemIndex) { case cNone: UpdateGridStyleSheets(NULL); case cPredefined: SetPredefinedStyleSheets(); case cUserDefined: SetUserDefinedStyleSheets(); } ChangeVisibility(((TcxRadioGroup*)Sender)->ItemIndex); }
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) { CDeskIcon deskIcon; if( !_tcsicmp( lpCmdLine, CMD_SMALL ) ) { deskIcon.SetDeskIcon( DeskIconSmall ); } else if( !_tcsicmp( lpCmdLine, CMD_BIG ) ) { deskIcon.SetDeskIcon( DeskIconBig ); } else { ChangeVisibility(); } return 0; }