Starting screensaver form MessageBox

Greetings

I'm looking for sample code for starting the screensaver from a MessageBox

in windows I'm useing Borlands C++4.52 compiler &Borlands C++ builder professional

with the code below with icon included it compiles to around 33kb (smaller box would be nice but this is all I got)

I'm trying to learn C++ on my own,so I'm starting with small programs that

I can piece together later. I would appreciate any help,Feel free to Email me

at [email protected]


ThankYou

Stephen W. DuPont

//Stoic Joker's Evil Messages

// MASTER TEMPLATE




#include

#ifndef

#include

#endif

#ifndef

#include

#endif


int PASCAL WinMain(HINSTANCE hCurInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)


{


MessageBox(0, "Volume in Drive C:
TOO_LOUD!", "SYSTEM ERROR:",64);


}







Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories