Starting screensaver form MessageBox - Programmers Heaven

Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.