hiya i have a popup dialog for login, and want to change the text of the static text box.. the class of this dialog is called 'CLoginDialog' so this is what i tried..
// set static text color
pStatic = (CColorDialog*)AfxGetApp()->GetMainWnd();
pStatic->GetDlgItem( IDC_STATIC );
but know this is wrong...any ideas??