Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
virtual void OnOK(); // declaration in header file
void MyDialog::OnOK()
{
m_truckSpeed = GetDlgItemInt(IDC_EDIT_TRUCK);
m_carSpeed = GetDlgItemInt(IDC_EDIT_CAR);
CDialog::OnOK(); /* Now I call the real OnOK so I can gain its functionality as well */
}