summaryrefslogblamecommitdiffstats
path: root/private/oleutest/letest/outline/icntrotl/icntrotl.rc
blob: 160d51dfa2b7b69ab1991b615951e04d96b3ae63 (plain) (tree)

















































































































































































































                                                                          
/*************************************************************************
** 
**    OLE 2.0 Container Sample Code
**    
**    icntrotl.rc
**    
**    Resource file for icntrotl.exe
** 
**	  (c) Copyright Microsoft Corp. 1992 - 1993 All Rights Reserved
**
*************************************************************************/

#include "windows.h"
#include "outlrc.h"
#include "cntrrc.h"

SelCur      CURSOR selcross.cur
DragMoveCur CURSOR dragmove.cur

#if defined( IF_SPECIAL_DD_CURSORS_NEEDED )
DragNoneCur CURSOR dragnone.cur
DragCopyCur CURSOR dragcopy.cur
DragLinkCur CURSOR draglink.cur
#endif  // IF_SPECIAL_DD_CURSORS_NEEDED

CntrOutlMenu MENU
  BEGIN
    POPUP  "&File"
      BEGIN
        MENUITEM "&New", IDM_F_NEW
        MENUITEM "&Open...\t  Ctrl+F12", IDM_F_OPEN
        MENUITEM "&Save\t  Shift+F12", IDM_F_SAVE
        MENUITEM "Save &As...\t  F12", IDM_F_SAVEAS
        MENUITEM SEPARATOR
        MENUITEM "&Print...\t  Ctrl+Shift+F12", IDM_F_PRINT
        MENUITEM "Printer Se&tup...", IDM_F_PRINTERSETUP
        MENUITEM SEPARATOR
        MENUITEM "E&xit\t  Alt+F4", IDM_F_EXIT    
      END
    POPUP  "&Edit"
      BEGIN
        MENUITEM "&Undo", IDM_E_UNDO
        MENUITEM SEPARATOR
        MENUITEM "Cu&t\t  Ctrl+X", IDM_E_CUT
        MENUITEM "&Copy\t  Ctrl+C", IDM_E_COPY
        MENUITEM "&Paste\t  Ctrl+V", IDM_E_PASTE
        MENUITEM "Paste &Special...", IDM_E_PASTESPECIAL
        MENUITEM "Paste &Link", IDM_E_PASTELINK
        MENUITEM "Cl&ear\t  Del", IDM_E_CLEAR
        MENUITEM SEPARATOR
        MENUITEM "&Insert Object...", IDM_E_INSERTOBJECT
        MENUITEM "Li&nks...", IDM_E_EDITLINKS
		MENUITEM "&Object", IDM_E_OBJECTVERBMIN
        MENUITEM SEPARATOR
        MENUITEM "Select &All\t  Ctrl+A", IDM_E_SELECTALL
      END
	POPUP  "O&utline"
	  BEGIN
        POPUP  "&Zoom"
          BEGIN
            MENUITEM "&100%\t  Ctrl+1", IDM_V_ZOOM_100
            MENUITEM "&75%\t  Ctrl+2", IDM_V_ZOOM_75
            MENUITEM "&50%\t  Ctrl+3", IDM_V_ZOOM_50
            MENUITEM "&25%\t  Ctrl+4", IDM_V_ZOOM_25
          END
        POPUP  "&Left and Right margins"
          BEGIN
            MENUITEM "&nil", IDM_V_SETMARGIN_0
            MENUITEM "&1 cm", IDM_V_SETMARGIN_1
            MENUITEM "&2 cm", IDM_V_SETMARGIN_2
            MENUITEM "&3 cm", IDM_V_SETMARGIN_3
            MENUITEM "&4 cm", IDM_V_SETMARGIN_4
          END         
        POPUP "Add &Top Line"
		  BEGIN
		    MENUITEM "&1 cm", IDM_V_ADDTOP_1
		    MENUITEM "&2 cm", IDM_V_ADDTOP_2
		    MENUITEM "&3 cm", IDM_V_ADDTOP_3
		    MENUITEM "&4 cm", IDM_V_ADDTOP_4
		  END
	  END
    POPUP  "&Line"
      BEGIN
        MENUITEM "&Add Line\t  Enter", IDM_L_ADDLINE
        MENUITEM "E&dit Line\t  Alt+Enter", IDM_L_EDITLINE
        MENUITEM SEPARATOR
        MENUITEM "&Indent Line\t  Tab", IDM_L_INDENTLINE
        MENUITEM "U&nindent Line\t  Shift+Tab", IDM_L_UNINDENTLINE
		MENUITEM SEPARATOR
		MENUITEM "&Set Line Height...", IDM_L_SETLINEHEIGHT
      END
    POPUP  "&Name"
      BEGIN
        MENUITEM "&Define Name...", IDM_N_DEFINENAME
        MENUITEM "&Goto Name...", IDM_N_GOTONAME
      END
    POPUP  "&Options"
      BEGIN
        POPUP  "&Button Bar Display"
          BEGIN
            MENUITEM "At &Top", IDM_O_BB_TOP
            MENUITEM "At &Bottom", IDM_O_BB_BOTTOM
            MENUITEM "&Popup", IDM_O_BB_POPUP
            MENUITEM "&Hide", IDM_O_BB_HIDE         
          END
        POPUP  "&Formula Bar Display"
          BEGIN
            MENUITEM "At &Top", IDM_O_FB_TOP
            MENUITEM "At &Bottom", IDM_O_FB_BOTTOM
            MENUITEM "&Popup", IDM_O_FB_POPUP
          END
        POPUP  "&Row and Column Heading"
          BEGIN
            MENUITEM "&Show", IDM_O_HEAD_SHOW
            MENUITEM "&Hide", IDM_O_HEAD_HIDE
          END
	    MENUITEM "&Show Object", IDM_O_SHOWOBJECT
      END
    POPUP  "DbgI&Cntr"
      BEGIN
        MENUITEM "&Debug Level...", IDM_D_DEBUGLEVEL
        MENUITEM "Register Message &Filter", IDM_D_INSTALLMSGFILTER
        MENUITEM "&Reject Incoming Messages", IDM_D_REJECTINCOMING
        MENUITEM "&Inside-out Activation", IDM_D_INSIDEOUT
      END
    POPUP  "&Help"
      BEGIN
        MENUITEM "&About...", IDM_H_ABOUT
      END
  END

CntrOutlAccel ACCELERATORS
  BEGIN
    VK_F12, IDM_F_OPEN, VIRTKEY, CONTROL
    VK_F12, IDM_F_SAVE, VIRTKEY, SHIFT
    VK_F12, IDM_F_SAVEAS, VIRTKEY
    VK_F12, IDM_F_PRINT, VIRTKEY, CONTROL, SHIFT
    
    "x", IDM_E_CUT, VIRTKEY, CONTROL
    "c", IDM_E_COPY, VIRTKEY, CONTROL
    "v", IDM_E_PASTE, VIRTKEY, CONTROL
    VK_DELETE, IDM_E_CLEAR, VIRTKEY
    VK_RETURN, IDM_L_ADDLINE, VIRTKEY
    VK_RETURN, IDM_L_EDITLINE, VIRTKEY, ALT
    VK_TAB, IDM_L_INDENTLINE, VIRTKEY
    VK_TAB, IDM_L_UNINDENTLINE, VIRTKEY, SHIFT
    "a", IDM_E_SELECTALL, VIRTKEY, CONTROL

    ; old conventions for editing
    VK_INSERT, IDM_E_COPY, VIRTKEY, CONTROL
    VK_DELETE, IDM_E_CUT, VIRTKEY, SHIFT
    VK_INSERT, IDM_E_PASTE, VIRTKEY, SHIFT
    
    VK_F2, IDM_F2, VIRTKEY
	VK_ESCAPE, IDM_ESCAPE, VIRTKEY

    "1", IDM_V_ZOOM_100, VIRTKEY, CONTROL
    "2", IDM_V_ZOOM_75, VIRTKEY, CONTROL
    "3", IDM_V_ZOOM_50, VIRTKEY, CONTROL
    "4", IDM_V_ZOOM_25, VIRTKEY, CONTROL
  END

; Same as CntrOutlAccel but without Delete and Backspace
; used when edit control of Formula Bar in focus
;
CntrOutlAccelFocusEdit ACCELERATORS
  BEGIN
    VK_F12, IDM_F_OPEN, VIRTKEY, CONTROL
    VK_F12, IDM_F_SAVE, VIRTKEY, SHIFT
    VK_F12, IDM_F_SAVEAS, VIRTKEY
    VK_F12, IDM_F_PRINT, VIRTKEY, CONTROL, SHIFT
  
    "x", IDM_E_CUT, VIRTKEY, CONTROL
    "c", IDM_E_COPY, VIRTKEY, CONTROL
    "v", IDM_E_PASTE, VIRTKEY, CONTROL
    VK_RETURN, IDM_L_ADDLINE, VIRTKEY
    VK_RETURN, IDM_L_EDITLINE, VIRTKEY, ALT
    VK_TAB, IDM_L_INDENTLINE, VIRTKEY
    VK_TAB, IDM_L_UNINDENTLINE, VIRTKEY, SHIFT	
    "a", IDM_E_SELECTALL, VIRTKEY, CONTROL

	VK_ESCAPE, IDM_ESCAPE, VIRTKEY

    ; old conventions for editing
    VK_INSERT, IDM_E_COPY, VIRTKEY, CONTROL
    VK_DELETE, IDM_E_CUT, VIRTKEY, SHIFT
    VK_INSERT, IDM_E_PASTE, VIRTKEY, SHIFT
  END

InPlaceCntrOutlAccel ACCELERATORS
  BEGIN
    VK_F12, IDM_F_OPEN, VIRTKEY, CONTROL
    VK_F12, IDM_F_SAVE, VIRTKEY, SHIFT
    VK_F12, IDM_F_SAVEAS, VIRTKEY
    VK_F12, IDM_F_PRINT, VIRTKEY, CONTROL, SHIFT
	VK_ESCAPE, IDM_ESCAPE, VIRTKEY
    "1", IDM_V_ZOOM_100, VIRTKEY, CONTROL
    "2", IDM_V_ZOOM_75, VIRTKEY, CONTROL
    "3", IDM_V_ZOOM_50, VIRTKEY, CONTROL
    "4", IDM_V_ZOOM_25, VIRTKEY, CONTROL
  END
  
CntrOutlIcon ICON icntrotl.ico

Image72     BITMAP      image72.bmp
Image96     BITMAP      image96.bmp
Image120    BITMAP      image120.bmp
LogoBitmap  BITMAP      ole2.bmp

#include "DIALOGS.DLG"