⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mapbasic.h

📁 VC开发MapInfo OLE的例子(MDI]
💻 H
📖 第 1 页 / 共 3 页
字号:
#define WIN_MAPINFO                      1011
//----------------------------------------------------------------------------
// Version 2 window types no longer used in version 3 or version 4
//----------------------------------------------------------------------------
#define WIN_TOOLPICKER                   1004
#define WIN_PENPICKER                    1005
#define WIN_SYMBOLPICKER                 1006

//----------------------------------------------------------------------------
// Window states, returned by WindowInfo(<win_id>, WIN_INFO_STATE)
//----------------------------------------------------------------------------
#define WIN_STATE_NORMAL                 0
#define WIN_STATE_MINIMIZED              1
#define WIN_STATE_MAXIMIZED              2

//============================================================================
// Set Next Document Style defines
//============================================================================
#define WIN_STYLE_STANDARD               0
#define WIN_STYLE_CHILD                  1
#define WIN_STYLE_POPUP_FULLCAPTION      2
#define WIN_STYLE_POPUP                  3

//============================================================================
// end of MAPBASIC.DEF
//============================================================================

//============================================================================
// MapInfo version 4.0 - Menu Item Definitions
//----------------------------------------------------------------------------
// This file contains defines useful when programming in the MapBasic
// language.  The definitions in this file describe the standard MapInfo
// functionality available via the "Run Menu Command" MapBasic statement.
//----------------------------------------------------------------------------
// The defines in this file are organized to match the sequence of
// declarations in the MAPINFOW.MNU file, which in turn reflects the
// organization of the MapInfo menus and buttonpads.
//============================================================================

//----------------------------------------------------------------------------
// File & Send Mail menus
//----------------------------------------------------------------------------
#define M_FILE_NEW                       101
#define M_FILE_OPEN                      102
#define M_FILE_OPEN_ODBC                 116
#define M_FILE_ADD_WORKSPACE             108
#define M_FILE_CLOSE                     103
#define M_FILE_CLOSE_ALL                 104
#define M_FILE_SAVE                      105
#define M_FILE_SAVE_COPY_AS              106
#define M_FILE_SAVE_WORKSPACE            109
#define M_FILE_SAVE_WINDOW_AS            609
#define M_FILE_REVERT                    107
#define M_FILE_RUN                       110
#define M_FILE_PAGE_SETUP                111
#define M_FILE_PRINT                     112
#define M_FILE_EXIT                      113

#define M_SENDMAIL_CURRENTWINDOW         114
#define M_SENDMAIL_WORKSPACE             115

//----------------------------------------------------------------------------
// Edit menu
//----------------------------------------------------------------------------
#define M_EDIT_UNDO                      201
#define M_EDIT_CUT                       202
#define M_EDIT_COPY                      203
#define M_EDIT_PASTE                     204
#define M_EDIT_CLEAR                     205
#define M_EDIT_CLEAROBJ                  206
#define M_EDIT_RESHAPE                   1601
#define M_EDIT_NEW_ROW                   702
#define M_EDIT_GETINFO                   207

//----------------------------------------------------------------------------
// Objects menu
//----------------------------------------------------------------------------
#define M_OBJECTS_SET_TARGET             1610
#define M_OBJECTS_CLEAR_TARGET           1611
#define M_OBJECTS_COMBINE                1605
#define M_OBJECTS_SPLIT                  1612
#define M_OBJECTS_ERASE                  1613
#define M_OBJECTS_ERASE_OUT              1614
#define M_OBJECTS_OVERLAY                1615
#define M_OBJECTS_BUFFER                 1606
#define M_OBJECTS_SMOOTH                 1602
#define M_OBJECTS_UNSMOOTH               1603
#define M_OBJECTS_CVT_PGON               1607
#define M_OBJECTS_CVT_PLINE              1604

//----------------------------------------------------------------------------
// Query menu
//----------------------------------------------------------------------------
#define M_ANALYZE_SELECT                 301
#define M_ANALYZE_SQLQUERY               302
#define M_ANALYZE_SELECTALL              303
#define M_ANALYZE_UNSELECT               304
#define M_ANALYZE_FIND                   305
#define M_ANALYZE_FIND_SELECTION         306
#define M_ANALYZE_CALC_STATISTICS        309

//----------------------------------------------------------------------------
// Table, Maintenance, and Raster menus
//----------------------------------------------------------------------------
#define M_TABLE_UPDATE_COLUMN            405
#define M_TABLE_APPEND                   411
#define M_TABLE_GEOCODE                  407
#define M_TABLE_CREATE_POINTS            408
#define M_TABLE_MERGE_USING_COLUMN       406
#define M_TABLE_IMPORT                   401
#define M_TABLE_EXPORT                   402

#define M_TABLE_MODIFY_STRUCTURE         404
#define M_TABLE_DELETE                   409
#define M_TABLE_RENAME                   410
#define M_TABLE_PACK                     403
#define M_TABLE_MAKEMAPPABLE             415
#define M_TABLE_UNLINK                   416
#define M_TABLE_REFRESH                  417

#define M_TABLE_RASTER_STYLE             414
#define M_TABLE_RASTER_REG               413
#define M_TOOLS_RASTER_REG               1730

//----------------------------------------------------------------------------
// Options menu
//----------------------------------------------------------------------------
#define M_FORMAT_PICK_LINE               501
#define M_FORMAT_PICK_FILL               502
#define M_FORMAT_PICK_SYMBOL             503
#define M_FORMAT_PICK_FONT               504
#define M_WINDOW_BUTTONPAD               605
#define M_WINDOW_LEGEND                  606
#define M_WINDOW_STATISTICS              607
#define M_WINDOW_MAPBASIC                608
#define M_WINDOW_STATUSBAR               616
#define M_FORMAT_CUSTOM_COLORS           617
#define M_EDIT_PREFERENCES               208
#define M_EDIT_PREFERENCES_SYSTEM        210
#define M_EDIT_PREFERENCES_FILE          211
#define M_EDIT_PREFERENCES_MAP           212
#define M_EDIT_PREFERENCES_COUNTRY       213
#define M_EDIT_PREFERENCES_PATH          214

//----------------------------------------------------------------------------
// Window menu
//----------------------------------------------------------------------------
#define M_WINDOW_BROWSE                  601
#define M_WINDOW_MAP                     602
#define M_WINDOW_GRAPH                   603
#define M_WINDOW_LAYOUT                  604
#define M_WINDOW_REDISTRICT              615
#define M_WINDOW_REDRAW                  610
#define M_WINDOW_TILE                    611
#define M_WINDOW_CASCADE                 612
#define M_WINDOW_ARRANGEICONS            613
#define M_WINDOW_MORE                    614
#define M_WINDOW_FIRST                   620
// - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Note: the 2nd through 80th windows can be accessed as (M_WINDOW_FIRST+i-1)
// - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

//----------------------------------------------------------------------------
// Help menu
//----------------------------------------------------------------------------
#define M_HELP_CONTENTS                  1202
#define M_HELP_SEARCH                    1203
#define M_HELP_USE_HELP                  1204
#define M_HELP_TECHSUPPORT               1208
#define M_HELP_CONNECT_MIFORUM           1209
#define M_HELP_ABOUT                     1205

#define M_HELP_CONTEXTSENSITIVE          1201
#define M_HELP_HELPMODE                  1206

//----------------------------------------------------------------------------
// Browse menu
//----------------------------------------------------------------------------
#define M_BROWSE_PICK_FIELDS             704
#define M_BROWSE_OPTIONS                 703

//----------------------------------------------------------------------------
// Map menu
//----------------------------------------------------------------------------
#define M_MAP_LAYER_CONTROL              801
#define M_MAP_THEMATIC                   307
#define M_MAP_MODIFY_THEMATIC            308
#define M_MAP_CHANGE_VIEW                805
#define M_MAP_CLONE_MAPPER               811
#define M_MAP_PREVIOUS                   806
#define M_MAP_ENTIRE_LAYER               807
#define M_MAP_CLEAR_CUSTOM_LABELS        814
#define M_MAP_SAVE_COSMETIC              809
#define M_MAP_CLEAR_COSMETIC             810
#define M_MAP_SET_CLIP_REGION            812
#define M_MAP_CLIP_REGION_ONOFF          813
#define M_MAP_SETUPDIGITIZER             803
#define M_MAP_OPTIONS                    802

//----------------------------------------------------------------------------
// Layout menu
//----------------------------------------------------------------------------
#define M_LAYOUT_CHANGE_VIEW             902
#define M_LAYOUT_ACTUAL                  903
#define M_LAYOUT_ENTIRE                  904
#define M_LAYOUT_PREVIOUS                905
#define M_LAYOUT_BRING2FRONT             906
#define M_LAYOUT_SEND2BACK               907
#define M_LAYOUT_ALIGN                   908
#define M_LAYOUT_DROPSHADOWS             909
#define M_LAYOUT_DISPLAYOPTIONS          901

//----------------------------------------------------------------------------
// Graph menu
//----------------------------------------------------------------------------
#define M_GRAPH_TYPE                     1001
#define M_GRAPH_LABEL_AXIS               1002
#define M_GRAPH_VALUE_AXIS               1003
#define M_GRAPH_SERIES                   1004

//----------------------------------------------------------------------------
// MapBasic menu
//----------------------------------------------------------------------------
#define M_MAPBASIC_CLEAR                 1101
#define M_MAPBASIC_SAVECONTENTS          1102

//----------------------------------------------------------------------------
// Redistrict menu
//----------------------------------------------------------------------------
#define M_REDISTRICT_ASSIGN              705
#define M_REDISTRICT_TARGET              706
#define M_REDISTRICT_ADD                 707
#define M_REDISTRICT_DELETE              708
#define M_REDISTRICT_OPTIONS             709

//----------------------------------------------------------------------------
// Main Buttonpad
//----------------------------------------------------------------------------
#define M_TOOLS_SELECTOR                 1701
#define M_TOOLS_SEARCH_RECT              1722
#define M_TOOLS_SEARCH_RADIUS            1703
#define M_TOOLS_SEARCH_BOUNDARY          1704
#define M_TOOLS_EXPAND                   1705
#define M_TOOLS_SHRINK                   1706
#define M_TOOLS_RECENTER                 1702
#define M_TOOLS_PNT_QUERY                1707
#define M_TOOLS_LABELER                  1708
#define M_TOOLS_DRAGWINDOW               1734
#define M_TOOLS_RULER                    1710

//----------------------------------------------------------------------------
// Drawing Buttonpad
//----------------------------------------------------------------------------
#define M_TOOLS_POINT                    1711
#define M_TOOLS_LINE                     1712
#define M_TOOLS_POLYLINE                 1713
#define M_TOOLS_ARC                      1716
#define M_TOOLS_POLYGON                  1714
#define M_TOOLS_ELLIPSE                  1715
#define M_TOOLS_RECTANGLE                1717
#define M_TOOLS_ROUNDEDRECT              1718
#define M_TOOLS_TEXT                     1709
#define M_TOOLS_FRAME                    1719
#define M_TOOLS_ADD_NODE                 1723

//----------------------------------------------------------------------------
// Menu and ButtonPad items that do not appear in the standard menus
//----------------------------------------------------------------------------
#define M_TOOLS_MAPBASIC                 1720
#define M_TOOLS_SEARCH_POLYGON           1733

//============================================================================
// end of MENU.DEF
//============================================================================

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -