how do i create a pop up? say for example a pop up saying "access denied"
Printable View
how do i create a pop up? say for example a pop up saying "access denied"
I don't think you can do that in console programs (I may Be Wrong).
In win API ypu'd use some thing like MessageBox();
Try posting in Windows forum.
If you're using windows then it's relatively simple:
You might also want to see the corresponding msdn pageCode:#define WIN32_LEAN_AND_MEAN //keep out unecessary includes
#include <windows.h>
int main()
{
MessageBox(NULL,"Access is denied","Error",MB_OK);
}
type javascript:alert("Boo!"); into your address bar and hit enter.