Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   Misc

   Amazon

   Links

    


Messagebox example
 

 

Description

A simple messagebox example , the hello world of Windows programming.

Code

/*works on Visual C++ and LCC win32*/
#include <windows.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
MessageBox (NULL, "Hello World" , "Hello", 0);
return 0;
}

Information

This code will work with Visual C++ , LCC Win 32 and Dev C++

 

 

 

 

Download

cmessagebox.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
write to a file using the filesystemobject(ASP)
IP address to host name(PHP)
Neon text(Javascript)
File size function(PHP)
clipboard examples(vb)
diagonal gradient(VB)
Name of Browser(Javascript)
display my network places items(VBScript)

    




Copyright © 2003 by programmershelp.co.uk