Click here to Skip to main content
15,896,727 members
Articles / Programming Languages / C++

The ViewPort Explorer

Rate me:
Please Sign up or sign in to vote.
4.91/5 (22 votes)
11 Jul 20051 min read 55.9K   1.6K   59  
A viewport explorer utility.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by viewport.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define IDD_VIEWPORT_DIALOG             102
#define IDR_MAINFRAME                   128
#define IDI_JMNCO                       130
#define IDC_SETVIEWPORTORG_X            1000
#define IDC_SPINSETVIEWPORTORG_X        1001
#define IDC_SETVIEWPORTORG_Y            1002
#define IDC_SPINSETVIEWPORTORG_Y        1003
#define IDC_SETVIEWPORTEXT_X            1004
#define IDC_SPINSETVIEWPORTEXT_X        1005
#define IDC_SETVIEWPORTEXT_Y            1006
#define IDC_SPINSETVIEWPORTEXT_Y        1007
#define IDC_SETWINDOWORG_X              1008
#define IDC_SPINSETWINDOWORG_X          1009
#define IDC_SETWINDOWORG_Y              1010
#define IDC_SPINSETWINDOWORG_Y          1011
#define IDC_SETWINDOWEXT_X              1012
#define IDC_SPINSETWINDOWEXT_X          1013
#define IDC_SETWINDOWEXT_Y              1014
#define IDC_SPINSETWINDOWEXT_Y          1015
#define IDC_MM_TEXT                     1016
#define IDC_MM_TWIPS                    1017
#define IDC_MM_LOENGLISH                1018
#define IDC_MM_HIENGLISH                1019
#define IDC_MM_LOMETRIC                 1020
#define IDC_MM_HIMETRIC                 1021
#define IDC_MM_ISOTROPIC                1022
#define IDC_MM_ANISOTROPIC              1023
#define IDC_DEVICE_GRID                  1024
#define IDC_SPINDEVICE_GRID              1025
#define IDC_LOGICAL_GRID                1026
#define IDC_SPINLOGICAL_GRID            1027
#define IDC_LOGICAL_X                   1028
#define IDC_SPINLOGICAL_X               1029
#define IDC_LOGICAL_Y                   1030
#define IDC_SPINLOGICAL_Y               1031
#define IDC_LPTODP                      1032
#define IDC_DPTOLP                      1033
#define IDC_PHYSICAL_X                  1034
#define IDC_SPINPHYSICAL_X              1035
#define IDC_PHYSICAL_Y                  1036
#define IDC_SPINPHYSICAL_Y              1037
#define IDC_MOUSE_LOGICAL               1038
#define IDC_MOUSE_PHYSICAL              1039
#define IDC_CIRCLES                     1040
#define IDC_WINDOW_CAPTION              1041
#define IDC_SETWINDOWORG_CAPTION        1042
#define IDC_SETWINDOWEXT_CAPTION        1043
#define IDC_SETVIEWPORTEXT_CAPTION      1044
#define IDC_SETVIEWPORTORG_CAPTION      1045
#define IDC_VIEWPORT_CAPTION            1046
#define IDC_CANVAS                      1047
#define IDC_SETVIEWPORTEXT_X_CAPTION    1048
#define IDC_SETVIEWPORTEXT_Y_CAPTION    1049
#define IDC_SETWINDOWEXT_X_CAPTION      1050
#define IDC_SETWINDOWEXT_Y_CAPTION      1051
#define IDC_POSITIVE                    1052
#define IDC_SPINPOSITIVE                1053
#define IDC_RESETWINDOWEXT              1054
#define IDC_RESETVIEWPORTEXT            1055
#define IDC_WINDOW_PERCENT_X            1056
#define IDC_WINDOW_PERCENT_Y            1057
#define IDC_VIEWPORT_PERCENT_X          1058
#define IDC_VIEWPORT_PERCENT_Y          1059
#define IDC_RESETWINDOWORG              1060
#define IDC_RESETVIEWPORTORG            1061
#define IDC_TOPLEFT                     1062
#define IDC_BOTTOMRIGHT                 1063
#define IDC_GRID                        1064
#define IDC_PS_SOLID                    1065
#define IDC_PS_DASH                     1066
#define IDC_PS_DOT                      1067
#define IDC_PS_DASHDOT                  1068
#define IDC_PS_DASHDOTDOT               1069
#define IDC_DRAG_CAPTION                1070
#define IDC_DRAG_LOGICAL                1071
#define IDC_DRAG_DEVICE                 1072
#define IDC_DRAG_DEVICE_CAPTION         1073
#define IDC_DRAG_LOGICAL_CAPTION        1074
#define IDC_MAGNIFICATION_X             1075
#define IDC_MAGNIFICATION_Y             1076
#define IDC_MAGNIFICATION_CAPTION       1077
#define IDC_MAGNIFICATION_X_CAPTION     1078
#define IDC_MAGNIFICATION_Y_CAPTION     1079

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        131
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1080
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Retired
United States United States
PhD, Computer Science, Carnegie Mellon University, 1975
Certificate in Forensic Science and the Law, Duquesne University, 2008

Co-Author, [i]Win32 Programming[/i]

Comments and Discussions