home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
screen
/
winptr
/
winptr.rc
< prev
next >
Wrap
Text File
|
1992-01-03
|
4KB
|
106 lines
//------------------------------------------------------------------------
//
// WINPTR.RC -- Resource script for WINPTR.C
//
// (c) Douglas Boling, 1992
//
//------------------------------------------------------------------------
#include <windows.h>
#include "winptr.h"
WinPtr ICON "winptr.ico"
//------------------------------------------------------------------------
//
// Accelerator Definitions
//
//------------------------------------------------------------------------
WinPtr ACCELERATORS {
VK_F1, IDD_ABOUT, VIRTKEY
"^h", IDD_ABOUT
"^a", IDD_ARROWONLY
"^p", IDD_SETCUR
"^x", IDD_EXIT
}
//------------------------------------------------------------------------
//
// Main window Dialog box
//
//------------------------------------------------------------------------
WinPtr DIALOG LOADONCALL MOVEABLE DISCARDABLE 150, 70, 180, 90
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | WS_MINIMIZEBOX
CLASS "WinPtr"
CAPTION "WinPtr"
BEGIN
ICON "WinPtr" -1, 10, 5, 0, 0
LTEXT "Movement Trigger", IDD_MOVETEXT, 5, 25, 110, 10
SCROLLBAR IDD_MOVETRIG, 5, 35, 110, 12, WS_GROUP WS_TABSTOP
LTEXT "Persistance", IDD_TIMETEXT, 5, 50, 110, 10
SCROLLBAR IDD_TIMETRIG, 5, 60, 110, 12, WS_TABSTOP
CHECKBOX, "Only Highlight &Arrow Cursor",
IDD_ARROWONLY, 5, 75, 110, 12, WS_TABSTOP
PUSHBUTTON "Enable", IDD_ENABLE, 130, 10, 45, 15, WS_TABSTOP
PUSHBUTTON "Set &Pointer", IDD_SETCUR, 130, 30, 45, 15, WS_TABSTOP
PUSHBUTTON "&Help...", IDD_ABOUT, 130, 50, 45, 15, WS_TABSTOP
PUSHBUTTON "E&xit", IDD_EXIT, 130, 70, 45, 15, WS_TABSTOP
END
//------------------------------------------------------------------------
//
// About dialog box
//
//------------------------------------------------------------------------
About DIALOG LOADONCALL MOVEABLE DISCARDABLE 10, 27, 180, 190
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_VISIBLE | WS_POPUP
CAPTION "WinPtr Help"
BEGIN
ICON "WinPtr" -1, 10, 10, 0, 0
CTEXT "WinPtr", -1, 50, 10, 80, 10
CTEXT "A Windows Pointer Locator", -1, 30, 20, 120, 10
CTEXT "Copyright \251 1992 Douglas Boling"
-1, 20, 30, 140, 10
CTEXT "First published in PC Magazine"
-1, 20, 40, 140, 10
CTEXT "March, 10, 1992" -1, 20, 50, 140, 10
DEFPUSHBUTTON "OK", IDOK, 70, 65, 40, 12
CONTROL "",-1, "static", SS_BLACKRECT, 5, 82, 170, 2
LTEXT "The Movement Trigger level is the number of",
-1, 10, 90, 160, 10
LTEXT "pixels the pointer must move before WinPtr",
-1, 10, 100, 160, 10
LTEXT "substitutes its block pointer for the regular",
-1, 10, 110, 160, 10
LTEXT "Windows Pointer."
-1, 10, 120, 160, 10
LTEXT "The Persistance Time is the number of",
-1, 10, 135, 160, 10
LTEXT "milliseconds after the last trigger that",
-1, 10, 145, 160, 10
LTEXT "WinPtr will continue to substutute its pointer.",
-1, 10, 155, 160, 10
LTEXT "This delay allows you to slow the pointer"
-1, 10, 165, 160, 10
LTEXT "movment while still having the block pointer."
-1, 10, 175, 160, 10
END