Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
594 B

#include <windows.h>
#include "simple.h"
SimpleMenu MENU
BEGIN
POPUP "&Tests"
BEGIN
MENUITEM "&CoInitialize", IDM_COINIT
MENUITEM "&About", IDM_ABOUT
END
END
AboutBox DIALOG 22, 17, 144, 75
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | DS_NOIDLEMSG
CAPTION "About Simple"
BEGIN
CTEXT "Microsoft Windows" -1, 0, 5, 144, 8
CTEXT "OLE 2.0 Simple Thunk Test", -1, 0, 14, 144, 8
CTEXT "Version 3.0" -1, 0, 34, 144, 8
DEFPUSHBUTTON "OK" IDOK, 53, 59, 32, 14, WS_GROUP
END