001/* 002 * BridJ - Dynamic and blazing-fast native interop for Java. 003 * http://bridj.googlecode.com/ 004 * 005 * Copyright (c) 2010-2013, Olivier Chafik (http://ochafik.com/) 006 * All rights reserved. 007 * 008 * Redistribution and use in source and binary forms, with or without 009 * modification, are permitted provided that the following conditions are met: 010 * 011 * * Redistributions of source code must retain the above copyright 012 * notice, this list of conditions and the following disclaimer. 013 * * Redistributions in binary form must reproduce the above copyright 014 * notice, this list of conditions and the following disclaimer in the 015 * documentation and/or other materials provided with the distribution. 016 * * Neither the name of Olivier Chafik nor the 017 * names of its contributors may be used to endorse or promote products 018 * derived from this software without specific prior written permission. 019 * 020 * THIS SOFTWARE IS PROVIDED BY OLIVIER CHAFIK AND CONTRIBUTORS ``AS IS'' AND ANY 021 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 022 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 023 * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY 024 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 025 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 026 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 027 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 028 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 029 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 030 */ 031package org.bridj.cpp.mfc; 032 033/// c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxres.h 034public interface StandardAfxCommands { 035 036 public static final int ID_FILE_NEW = 0xE100, 037 ID_FILE_OPEN = 0xE101, 038 ID_FILE_CLOSE = 0xE102, 039 ID_FILE_SAVE = 0xE103, 040 ID_FILE_SAVE_AS = 0xE104, 041 ID_FILE_PAGE_SETUP = 0xE105, 042 ID_FILE_PRINT_SETUP = 0xE106, 043 ID_FILE_PRINT = 0xE107, 044 ID_FILE_PRINT_DIRECT = 0xE108, 045 ID_FILE_PRINT_PREVIEW = 0xE109, 046 ID_FILE_UPDATE = 0xE10A, 047 ID_FILE_SAVE_COPY_AS = 0xE10B, 048 ID_FILE_SEND_MAIL = 0xE10C, 049 ID_FILE_NEW_FRAME = 0xE10D, 050 ID_FILE_MRU_FIRST = 0xE110, 051 ID_FILE_MRU_FILE1 = 0xE110, // range - 16 max 052 ID_FILE_MRU_FILE2 = 0xE111, 053 ID_FILE_MRU_FILE3 = 0xE112, 054 ID_FILE_MRU_FILE4 = 0xE113, 055 ID_FILE_MRU_FILE5 = 0xE114, 056 ID_FILE_MRU_FILE6 = 0xE115, 057 ID_FILE_MRU_FILE7 = 0xE116, 058 ID_FILE_MRU_FILE8 = 0xE117, 059 ID_FILE_MRU_FILE9 = 0xE118, 060 ID_FILE_MRU_FILE10 = 0xE119, 061 ID_FILE_MRU_FILE11 = 0xE11A, 062 ID_FILE_MRU_FILE12 = 0xE11B, 063 ID_FILE_MRU_FILE13 = 0xE11C, 064 ID_FILE_MRU_FILE14 = 0xE11D, 065 ID_FILE_MRU_FILE15 = 0xE11E, 066 ID_FILE_MRU_FILE16 = 0xE11F, 067 ID_FILE_MRU_LAST = 0xE11F, 068 ID_EDIT_CLEAR = 0xE120, 069 ID_EDIT_CLEAR_ALL = 0xE121, 070 ID_EDIT_COPY = 0xE122, 071 ID_EDIT_CUT = 0xE123, 072 ID_EDIT_FIND = 0xE124, 073 ID_EDIT_PASTE = 0xE125, 074 ID_EDIT_PASTE_LINK = 0xE126, 075 ID_EDIT_PASTE_SPECIAL = 0xE127, 076 ID_EDIT_REPEAT = 0xE128, 077 ID_EDIT_REPLACE = 0xE129, 078 ID_EDIT_SELECT_ALL = 0xE12A, 079 ID_EDIT_UNDO = 0xE12B, 080 ID_EDIT_REDO = 0xE12C, 081 ID_WINDOW_NEW = 0xE130, 082 ID_WINDOW_ARRANGE = 0xE131, 083 ID_WINDOW_CASCADE = 0xE132, 084 ID_WINDOW_TILE_HORZ = 0xE133, 085 ID_WINDOW_TILE_VERT = 0xE134, 086 ID_WINDOW_SPLIT = 0xE135, 087 AFX_IDM_WINDOW_FIRST = 0xE130, 088 AFX_IDM_WINDOW_LAST = 0xE13F, 089 AFX_IDM_FIRST_MDICHILD = 0xFF00, // window list starts here 090 ID_APP_ABOUT = 0xE140, 091 ID_APP_EXIT = 0xE141, 092 ID_HELP_INDEX = 0xE142, 093 ID_HELP_FINDER = 0xE143, 094 ID_HELP_USING = 0xE144, 095 ID_CONTEXT_HELP = 0xE145, // shift-F1 096 ID_HELP = 0xE146, // first attempt for F1 097 ID_DEFAULT_HELP = 0xE147, // last attempt 098 ID_NEXT_PANE = 0xE150, 099 ID_PREV_PANE = 0xE151, 100 ID_FORMAT_FONT = 0xE160, 101 ID_OLE_INSERT_NEW = 0xE200, 102 ID_OLE_EDIT_LINKS = 0xE201, 103 ID_OLE_EDIT_CONVERT = 0xE202, 104 ID_OLE_EDIT_CHANGE_ICON = 0xE203, 105 ID_OLE_EDIT_PROPERTIES = 0xE204, 106 ID_OLE_VERB_FIRST = 0xE210, // range - 16 max 107 ID_OLE_VERB_LAST = 0xE21F, 108 AFX_ID_PREVIEW_CLOSE = 0xE300, 109 AFX_ID_PREVIEW_NUMPAGE = 0xE301, // One/Two Page button 110 AFX_ID_PREVIEW_NEXT = 0xE302, 111 AFX_ID_PREVIEW_PREV = 0xE303, 112 AFX_ID_PREVIEW_PRINT = 0xE304, 113 AFX_ID_PREVIEW_ZOOMIN = 0xE305, 114 AFX_ID_PREVIEW_ZOOMOUT = 0xE306, 115 ID_VIEW_TOOLBAR = 0xE800, 116 ID_VIEW_STATUS_BAR = 0xE801, 117 ID_VIEW_REBAR = 0xE804, 118 ID_VIEW_AUTOARRANGE = 0xE805, 119 ID_VIEW_SMALLICON = 0xE810, 120 ID_VIEW_LARGEICON = 0xE811, 121 ID_VIEW_LIST = 0xE812, 122 ID_VIEW_DETAILS = 0xE813, 123 ID_VIEW_LINEUP = 0xE814, 124 ID_VIEW_BYNAME = 0xE815, 125 ID_RECORD_FIRST = 0xE900, 126 ID_RECORD_LAST = 0xE901, 127 ID_RECORD_NEXT = 0xE902, 128 ID_RECORD_PREV = 0xE903, 129 IDC_STATIC = (-1); // all static controls 130}