I am working on a project. It has GUI and i add Start button on it , which is handled by some function. and after clicking on start ,that Gui shows the output. I want to disable that handler function. Whenever i debug that project, start button should automatically started and GUI shows the output.
This is the code of that handler. What should i change or move that function ?
void CServerSocketDlg::OnBtnStart()
{
UpdateData();
StartX();
}
Need your suggestion. Thanks