00-MessageBox
// https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messagebox
#include <windows.h>
int main(void){
MessageBoxW(NULL,
L"A message box",
L"HAHHAHA",
MB_YESNOCANCEL);
return EXIT_SUCCESS;
}
The parameters inside the MessageBoxW function
- A handle to the owner window of the message box to be created
- The message to be displayed.
- The dialog box title.
- The contents and behavior of the dialog box // In our case Yes or no, there are more on the site I mentioned above.
There are many symbols we can add here
03-MessageBox2