// Set a window position as a topmost window.::SetWindowPos( GetSafeHwnd(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOREDRAW | SWP_NOSIZE );
//To set a text in Textbox using Resource ID//instead of CEdit member variable ::SetDlgItemText(GetSafeHwnd(), IDC_EDIT1, "username");