Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to create windows warning message c++

#include <windows.h>

MessageBoxW(

	NULL,
	(LPCWSTR)L"This will be the text",
	(LPCWSTR)L"This will be the title",
  	MB_ICONERROR | MB_YESNO

	/*
	Instructions about how to configure the icon's
	and buttons can be found at:
	https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messageboxw
	*/

);
 
PREVIOUS NEXT
Tagged: #create #windows #warning #message
ADD COMMENT
Topic
Name
5+7 =