If you make a button in win32 api, whats the command to do "if (button is clicked) do that.. else.. do that.."??
like:
Thnks for help ^^Code:if(button==clicked) { DestroyWindow(hwnd); } else { MessageBox(0, "ERROR", "ERROR", MB_OK | MB_ICONERROR); }