home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
t
/
triq.zip
/
TRI.RC
< prev
next >
Wrap
Text File
|
1991-09-10
|
2KB
|
58 lines
#include "windows.h"
#include "triqrc.h"
ID_APP ICON tri.ico
rcinclude triq.dlg
ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 22, 17, 144, 75
STYLE WS_POPUP | WS_DLGFRAME
BEGIN
CTEXT "Microsoft Windows" -1, 37, 5, 60, 8
CTEXT "Triangle Sample Application" -1, 0, 14, 144, 8
CTEXT "Version 1.00" -1, 38, 34, 64, 8
CTEXT "(c) Copyright 1991, Microsoft Corp." -1, 5, 47,132, 9
ICON ID_APP -1, 9, 23, 0, 0
DEFPUSHBUTTON "Ok" IDOK, 53, 59, 32, 14, WS_GROUP
END
ID_APP menu
begin
POPUP "&File"
begin
MENUITEM "&About..." , MENU_ABOUT
MENUITEM SEPARATOR
MENUITEM "E&xit" , MENU_EXIT
end
POPUP "&Draw"
begin
MENUITEM "&Time it!" , MENU_TIMEIT
MENUITEM SEPARATOR
MENUITEM "Use &GDI" , MENU_USEGDI
MENUITEM "Use &Pat Blit" , MENU_USEPAT
MENUITEM "Use &Custom Tri" , MENU_USECUSTOM
MENUITEM SEPARATOR
MENUITEM "Draw to &DIBs" , MENU_DIB
MENUITEM "Draw to &Screen" , MENU_SCREEN
MENUITEM SEPARATOR
MENUITEM "S&olid Colors" , MENU_SOLID
MENUITEM "&Null Pen" , MENU_NULLPEN
MENUITEM "&Boxes" , MENU_BOXES
MENUITEM SEPARATOR
end
POPUP "&DIB"
begin
MENUITEM "Draw &Every Frame", MENU_EVERY
MENUITEM "Skip &1 Frames" , MENU_SKIP2
MENUITEM "Skip &3 Frames" , MENU_SKIP4
MENUITEM "Skip &7 Frames" , MENU_SKIP8
MENUITEM "Skip &15 Frames" , MENU_SKIP16
MENUITEM "Skip &All Frames" , MENU_SKIPALL
MENUITEM SEPARATOR
MENUITEM "&Redraw Frame Now", MENU_REDRAW
end
end