summaryrefslogtreecommitdiff
path: root/rsc/inc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-01-06 15:41:35 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-01-06 15:41:35 +0000
commit2ad37d5dc5a20417581d91874a17f30c66e98c15 (patch)
treec667254227e76f07967b90c8175ecf91ede2f2d1 /rsc/inc
parent9fc4f920ad6b6926e5589e954fbf44d6da946874 (diff)
INTEGRATION: CWS vclcleanup02 (1.1.2); FILE ADDED
2003/12/11 11:28:30 mt 1.1.2.4: #i23061# VCL cleanup, removed headers, methods and types... 2003/12/11 11:26:14 mt 1.1.2.3: #i23061# VCL cleanup, removed headers, methods and types... 2003/12/11 08:49:11 mt 1.1.2.2: #i23061# VCL cleanup, removed headers, methods and types... 2003/12/09 11:59:34 mt 1.1.2.1: #i23061# Moved from module tools
Diffstat (limited to 'rsc/inc')
-rw-r--r--rsc/inc/vclrsc.hxx481
1 files changed, 481 insertions, 0 deletions
diff --git a/rsc/inc/vclrsc.hxx b/rsc/inc/vclrsc.hxx
new file mode 100644
index 000000000000..2f6b57e6f0c6
--- /dev/null
+++ b/rsc/inc/vclrsc.hxx
@@ -0,0 +1,481 @@
+/*************************************************************************
+ *
+ * $RCSfile: vclrsc.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: vg $ $Date: 2004-01-06 16:41:35 $
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************/
+
+#ifndef _TOOLS_VCLRSC_HXX
+#define _TOOLS_VCLRSC_HXX
+
+#include <sal/types.h>
+#include <tools/solar.h>
+
+// ---------------
+// - Window-Bits -
+// ---------------
+
+// from vcl/inc/wintypes.hxx
+typedef sal_Int64 WinBits;
+
+// Window-Bits fuer Window
+#define WB_CLIPCHILDREN ((WinBits)0x00000001)
+#define WB_DIALOGCONTROL ((WinBits)0x00000002)
+#define WB_NODIALOGCONTROL ((WinBits)0x00000004)
+#define WB_BORDER ((WinBits)0x00000008)
+#define WB_NOBORDER ((WinBits)0x00000010)
+#define WB_SIZEABLE ((WinBits)0x00000020)
+#define WB_3DLOOK ((WinBits)0x00000040)
+#define WB_AUTOSIZE ((WinBits)0x00000080)
+
+// Window-Bits fuer SystemWindows
+#define WB_MOVEABLE ((WinBits)0x00000100)
+#define WB_ROLLABLE ((WinBits)0x00000200)
+#define WB_CLOSEABLE ((WinBits)0x00000400)
+#define WB_STANDALONE ((WinBits)0x00000800)
+#define WB_APP ((WinBits)0x00001000)
+#define WB_PINABLE ((WinBits)0x00002000)
+#define WB_SYSTEMWINDOW ((WinBits)0x40000000)
+#define WB_SIZEMOVE (WB_SIZEABLE | WB_MOVEABLE)
+
+// Standard-Window-Bits fuer ChildWindows
+#define WB_TABSTOP ((WinBits)0x00000100)
+#define WB_NOTABSTOP ((WinBits)0x00000200)
+#define WB_GROUP ((WinBits)0x00000400)
+#define WB_NOGROUP ((WinBits)0x00000800)
+#define WB_HORZ ((WinBits)0x00001000)
+#define WB_VERT ((WinBits)0x00002000)
+#define WB_LEFT ((WinBits)0x00004000)
+#define WB_CENTER ((WinBits)0x00008000)
+#define WB_RIGHT ((WinBits)0x00010000)
+#define WB_TOP ((WinBits)0x00020000)
+#define WB_VCENTER ((WinBits)0x00040000)
+#define WB_BOTTOM ((WinBits)0x00080000)
+#define WB_DRAG ((WinBits)0x00100000)
+#define WB_SPIN ((WinBits)0x00200000)
+#define WB_REPEAT ((WinBits)0x00400000)
+#define WB_NOPOINTERFOCUS ((WinBits)0x00800000)
+#define WB_WORDBREAK ((WinBits)0x01000000)
+#define WB_NOLABEL ((WinBits)0x02000000)
+#define WB_SORT ((WinBits)0x04000000)
+#define WB_DROPDOWN ((WinBits)0x08000000)
+#define WB_AUTOHSCROLL ((WinBits)0x10000000)
+#define WB_DOCKABLE ((WinBits)0x20000000)
+
+#define WB_HIDE ((WinBits)0x80000000)
+#define WB_HSCROLL WB_HORZ
+#define WB_VSCROLL WB_VERT
+#define WB_TOPIMAGE WB_TOP
+
+// Window-Bits for PushButtons
+#define WB_DEFBUTTON ((WinBits)0x10000000)
+#define WB_NOLIGHTBORDER ((WinBits)0x20000000)
+#define WB_RECTSTYLE ((WinBits)0x08000000)
+#define WB_SMALLSTYLE ((WinBits)0x04000000)
+
+// Window-Bits for FixedText
+#define WB_INFO ((WinBits)0x20000000)
+#define WB_PATHELLIPSIS ((WinBits)0x00100000)
+
+// Window-Bits for Edit
+#define WB_PASSWORD ((WinBits)0x01000000)
+#define WB_READONLY ((WinBits)0x02000000)
+#define WB_NOHIDESELECTION ((WinBits)0x40000000)
+
+// Window-Bits for MultiLineEdit
+#define WB_IGNORETAB ((WinBits)0x20000000)
+
+// Window-Bits for ListBox and MultiListBox
+#define WB_SIMPLEMODE ((WinBits)0x20000000)
+
+// Window-Bits for FixedBitmap
+#define WB_FAST ((WinBits)0x04000000)
+#define WB_SCALE ((WinBits)0x08000000)
+#define WB_TOPLEFTVISIBLE ((WinBits)0x10000000)
+
+// Window-Bits for ToolBox
+#define WB_LINESPACING ((WinBits)0x01000000)
+#define WB_SCROLL ((WinBits)0x02000000)
+
+// Window-Bits for TabControl
+#define WB_SINGLELINE ((WinBits)0x02000000)
+
+// Window-Bits for DockingWindows
+#define WB_DOCKBORDER ((WinBits)0x00001000)
+
+// Window-Bits for SplitWindow
+#define WB_NOSPLITDRAW ((WinBits)0x01000000)
+#define WB_FLATSPLITDRAW ((WinBits)0x02000000)
+
+// Window-Bits for MessageBoxen
+#define WB_OK ((WinBits)0x00100000)
+#define WB_OK_CANCEL ((WinBits)0x00200000)
+#define WB_YES_NO ((WinBits)0x00400000)
+#define WB_YES_NO_CANCEL ((WinBits)0x00800000)
+#define WB_RETRY_CANCEL ((WinBits)0x01000000)
+#define WB_DEF_OK ((WinBits)0x02000000)
+#define WB_DEF_CANCEL ((WinBits)0x04000000)
+#define WB_DEF_RETRY ((WinBits)0x08000000)
+#define WB_DEF_YES ((WinBits)0x10000000)
+#define WB_DEF_NO ((WinBits)0x20000000)
+
+// Standard-WinBits
+#define WB_STDWORK (WB_SIZEMOVE | WB_CLOSEABLE)
+#define WB_STDMDI (WB_CLOSEABLE)
+#define WB_STDDOCKWIN (WB_DOCKABLE | WB_MOVEABLE | WB_CLOSEABLE)
+#define WB_STDFLOATWIN (WB_SIZEMOVE | WB_CLOSEABLE | WB_ROLLABLE)
+#define WB_STDDIALOG (WB_MOVEABLE | WB_CLOSEABLE)
+#define WB_STDMODELESS (WB_STDDIALOG)
+#define WB_STDMODAL (WB_STDDIALOG)
+#define WB_STDTABDIALOG (WB_STDDIALOG)
+#define WB_STDTABCONTROL 0
+
+// For TreeListBox
+#define WB_HASBUTTONS ((WinBits)0x00800000)
+#define WB_HASLINES ((WinBits)0x01000000)
+#define WB_HASLINESATROOT ((WinBits)0x02000000)
+
+// For FileOpen Dialog
+#define WB_PATH ((WinBits)0x00100000)
+#define WB_OPEN ((WinBits)0x00200000)
+#define WB_SAVEAS ((WinBits)0x00400000)
+
+// --------------
+// - Help-Types -
+// --------------
+
+// from vcl/inc/help.hxx
+#define HELP_INDEX ((ULONG)0xFFFFFFFF)
+#define HELP_HELPONHELP ((ULONG)0xFFFFFFFE)
+
+// --------------
+// - FieldTypes -
+// --------------
+
+// from vcl/inc/fldunit.hxx
+enum FieldUnit { FUNIT_NONE, FUNIT_MM, FUNIT_CM, FUNIT_M, FUNIT_KM,
+ FUNIT_TWIP, FUNIT_POINT, FUNIT_PICA,
+ FUNIT_INCH, FUNIT_FOOT, FUNIT_MILE, FUNIT_CUSTOM,
+ FUNIT_PERCENT, FUNIT_100TH_MM };
+
+
+// from vcl/inc/vclenum.hxx
+#ifndef ENUM_TIMEFIELDFORMAT_DECLARED
+#define ENUM_TIMEFIELDFORMAT_DECLARED
+
+enum TimeFieldFormat {TIMEF_NONE, TIMEF_SEC, TIMEF_100TH_SEC, TIMEF_SEC_CS, TimeFieldFormat_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
+
+#endif
+
+// -----------------
+// - KeyCode-Types -
+// -----------------
+
+// from vcl/inc/keycodes.hxx
+// Key-Gruppen
+#define KEYGROUP_NUM ((USHORT)0x0100)
+#define KEYGROUP_ALPHA ((USHORT)0x0200)
+#define KEYGROUP_FKEYS ((USHORT)0x0300)
+#define KEYGROUP_CURSOR ((USHORT)0x0400)
+#define KEYGROUP_MISC ((USHORT)0x0500)
+#define KEYGROUP_TYPE ((USHORT)0x0F00)
+
+// Key-Codes
+#define KEY_0 ((USHORT)(KEYGROUP_NUM+0))
+#define KEY_1 ((USHORT)(KEYGROUP_NUM+1))
+#define KEY_2 ((USHORT)(KEYGROUP_NUM+2))
+#define KEY_3 ((USHORT)(KEYGROUP_NUM+3))
+#define KEY_4 ((USHORT)(KEYGROUP_NUM+4))
+#define KEY_5 ((USHORT)(KEYGROUP_NUM+5))
+#define KEY_6 ((USHORT)(KEYGROUP_NUM+6))
+#define KEY_7 ((USHORT)(KEYGROUP_NUM+7))
+#define KEY_8 ((USHORT)(KEYGROUP_NUM+8))
+#define KEY_9 ((USHORT)(KEYGROUP_NUM+9))
+
+#define KEY_A ((USHORT)(KEYGROUP_ALPHA+0))
+#define KEY_B ((USHORT)(KEYGROUP_ALPHA+1))
+#define KEY_C ((USHORT)(KEYGROUP_ALPHA+2))
+#define KEY_D ((USHORT)(KEYGROUP_ALPHA+3))
+#define KEY_E ((USHORT)(KEYGROUP_ALPHA+4))
+#define KEY_F ((USHORT)(KEYGROUP_ALPHA+5))
+#define KEY_G ((USHORT)(KEYGROUP_ALPHA+6))
+#define KEY_H ((USHORT)(KEYGROUP_ALPHA+7))
+#define KEY_I ((USHORT)(KEYGROUP_ALPHA+8))
+#define KEY_J ((USHORT)(KEYGROUP_ALPHA+9))
+#define KEY_K ((USHORT)(KEYGROUP_ALPHA+10))
+#define KEY_L ((USHORT)(KEYGROUP_ALPHA+11))
+#define KEY_M ((USHORT)(KEYGROUP_ALPHA+12))
+#define KEY_N ((USHORT)(KEYGROUP_ALPHA+13))
+#define KEY_O ((USHORT)(KEYGROUP_ALPHA+14))
+#define KEY_P ((USHORT)(KEYGROUP_ALPHA+15))
+#define KEY_Q ((USHORT)(KEYGROUP_ALPHA+16))
+#define KEY_R ((USHORT)(KEYGROUP_ALPHA+17))
+#define KEY_S ((USHORT)(KEYGROUP_ALPHA+18))
+#define KEY_T ((USHORT)(KEYGROUP_ALPHA+19))
+#define KEY_U ((USHORT)(KEYGROUP_ALPHA+20))
+#define KEY_V ((USHORT)(KEYGROUP_ALPHA+21))
+#define KEY_W ((USHORT)(KEYGROUP_ALPHA+22))
+#define KEY_X ((USHORT)(KEYGROUP_ALPHA+23))
+#define KEY_Y ((USHORT)(KEYGROUP_ALPHA+24))
+#define KEY_Z ((USHORT)(KEYGROUP_ALPHA+25))
+
+#define KEY_F1 ((USHORT)(KEYGROUP_FKEYS+0))
+#define KEY_F2 ((USHORT)(KEYGROUP_FKEYS+1))
+#define KEY_F3 ((USHORT)(KEYGROUP_FKEYS+2))
+#define KEY_F4 ((USHORT)(KEYGROUP_FKEYS+3))
+#define KEY_F5 ((USHORT)(KEYGROUP_FKEYS+4))
+#define KEY_F6 ((USHORT)(KEYGROUP_FKEYS+5))
+#define KEY_F7 ((USHORT)(KEYGROUP_FKEYS+6))
+#define KEY_F8 ((USHORT)(KEYGROUP_FKEYS+7))
+#define KEY_F9 ((USHORT)(KEYGROUP_FKEYS+8))
+#define KEY_F10 ((USHORT)(KEYGROUP_FKEYS+9))
+#define KEY_F11 ((USHORT)(KEYGROUP_FKEYS+10))
+#define KEY_F12 ((USHORT)(KEYGROUP_FKEYS+11))
+#define KEY_F13 ((USHORT)(KEYGROUP_FKEYS+12))
+#define KEY_F14 ((USHORT)(KEYGROUP_FKEYS+13))
+#define KEY_F15 ((USHORT)(KEYGROUP_FKEYS+14))
+#define KEY_F16 ((USHORT)(KEYGROUP_FKEYS+15))
+#define KEY_F17 ((USHORT)(KEYGROUP_FKEYS+16))
+#define KEY_F18 ((USHORT)(KEYGROUP_FKEYS+17))
+#define KEY_F19 ((USHORT)(KEYGROUP_FKEYS+18))
+#define KEY_F20 ((USHORT)(KEYGROUP_FKEYS+19))
+#define KEY_F21 ((USHORT)(KEYGROUP_FKEYS+20))
+#define KEY_F22 ((USHORT)(KEYGROUP_FKEYS+21))
+#define KEY_F23 ((USHORT)(KEYGROUP_FKEYS+22))
+#define KEY_F24 ((USHORT)(KEYGROUP_FKEYS+23))
+#define KEY_F25 ((USHORT)(KEYGROUP_FKEYS+24))
+#define KEY_F26 ((USHORT)(KEYGROUP_FKEYS+25))
+
+#define KEY_DOWN ((USHORT)(KEYGROUP_CURSOR+0))
+#define KEY_UP ((USHORT)(KEYGROUP_CURSOR+1))
+#define KEY_LEFT ((USHORT)(KEYGROUP_CURSOR+2))
+#define KEY_RIGHT ((USHORT)(KEYGROUP_CURSOR+3))
+#define KEY_HOME ((USHORT)(KEYGROUP_CURSOR+4))
+#define KEY_END ((USHORT)(KEYGROUP_CURSOR+5))
+#define KEY_PAGEUP ((USHORT)(KEYGROUP_CURSOR+6))
+#define KEY_PAGEDOWN ((USHORT)(KEYGROUP_CURSOR+7))
+
+#define KEY_RETURN ((USHORT)(KEYGROUP_MISC+0))
+#define KEY_ESCAPE ((USHORT)(KEYGROUP_MISC+1))
+#define KEY_TAB ((USHORT)(KEYGROUP_MISC+2))
+#define KEY_BACKSPACE ((USHORT)(KEYGROUP_MISC+3))
+#define KEY_SPACE ((USHORT)(KEYGROUP_MISC+4))
+#define KEY_INSERT ((USHORT)(KEYGROUP_MISC+5))
+#define KEY_DELETE ((USHORT)(KEYGROUP_MISC+6))
+
+#define KEY_ADD ((USHORT)(KEYGROUP_MISC+7))
+#define KEY_SUBTRACT ((USHORT)(KEYGROUP_MISC+8))
+#define KEY_MULTIPLY ((USHORT)(KEYGROUP_MISC+9))
+#define KEY_DIVIDE ((USHORT)(KEYGROUP_MISC+10))
+#define KEY_POINT ((USHORT)(KEYGROUP_MISC+11))
+#define KEY_COMMA ((USHORT)(KEYGROUP_MISC+12))
+#define KEY_LESS ((USHORT)(KEYGROUP_MISC+13))
+#define KEY_GREATER ((USHORT)(KEYGROUP_MISC+14))
+#define KEY_EQUAL ((USHORT)(KEYGROUP_MISC+15))
+
+#define KEY_OPEN ((USHORT)(KEYGROUP_MISC+16))
+#define KEY_CUT ((USHORT)(KEYGROUP_MISC+17))
+#define KEY_COPY ((USHORT)(KEYGROUP_MISC+18))
+#define KEY_PASTE ((USHORT)(KEYGROUP_MISC+19))
+#define KEY_UNDO ((USHORT)(KEYGROUP_MISC+20))
+#define KEY_REPEAT ((USHORT)(KEYGROUP_MISC+21))
+#define KEY_FIND ((USHORT)(KEYGROUP_MISC+22))
+#define KEY_PROPERTIES ((USHORT)(KEYGROUP_MISC+23))
+#define KEY_FRONT ((USHORT)(KEYGROUP_MISC+24))
+#define KEY_CONTEXTMENU ((USHORT)(KEYGROUP_MISC+25))
+#define KEY_MENU ((USHORT)(KEYGROUP_MISC+26))
+#define KEY_HELP ((USHORT)(KEYGROUP_MISC+27))
+
+#define KEY_CODE ((USHORT)0x0FFF)
+
+// Modifier-Tasten
+#define KEY_SHIFT ((USHORT)0x1000)
+#define KEY_MOD1 ((USHORT)0x2000)
+#define KEY_MOD2 ((USHORT)0x4000)
+#define KEY_MODTYPE ((USHORT)0x7000)
+#define KEY_CONTROLMOD ((USHORT)0x8000)
+#define KEY_ALLMODTYPE ((USHORT)0xF000)
+
+
+// from vcl/inc/vclenum.hxx
+#ifndef ENUM_KEYFUNCTYPE_DECLARED
+#define ENUM_KEYFUNCTYPE_DECLARED
+
+enum KeyFuncType { KEYFUNC_DONTKNOW, KEYFUNC_NEW, KEYFUNC_OPEN, KEYFUNC_SAVE,
+ KEYFUNC_SAVEAS, KEYFUNC_PRINT, KEYFUNC_CLOSE, KEYFUNC_QUIT,
+ KEYFUNC_CUT, KEYFUNC_COPY, KEYFUNC_PASTE, KEYFUNC_UNDO,
+ KEYFUNC_REDO, KEYFUNC_DELETE, KEYFUNC_REPEAT, KEYFUNC_FIND,
+ KEYFUNC_FINDBACKWARD, KEYFUNC_PROPERTIES, KEYFUNC_FRONT,
+ KeyFuncType_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
+
+#endif
+
+// ------------
+// - TriState -
+// ------------
+
+// from vcl/inc/wintypes.hxx
+enum TriState { STATE_NOCHECK, STATE_CHECK, STATE_DONTKNOW };
+
+// -----------------
+// - MapMode-Types -
+// -----------------
+
+// from vcl/inc/mapmod.hxx
+enum MapUnit { MAP_100TH_MM, MAP_10TH_MM, MAP_MM, MAP_CM,
+ MAP_1000TH_INCH, MAP_100TH_INCH, MAP_10TH_INCH, MAP_INCH,
+ MAP_POINT, MAP_TWIP, MAP_PIXEL, MAP_SYSFONT, MAP_APPFONT,
+ MAP_RELATIVE, MAP_REALAPPFONT };
+
+// Das Resourcesystem benutzt den Wert 0xFFFF (freihalten)
+
+
+// --------------------------
+// - Bits fuer ToolBoxItems -
+// --------------------------
+
+// from vcl/inc/toolbox.hxx
+typedef USHORT ToolBoxItemBits;
+
+#define TIB_CHECKABLE ((ToolBoxItemBits)0x0001)
+#define TIB_RADIOCHECK ((ToolBoxItemBits)0x0002)
+#define TIB_AUTOCHECK ((ToolBoxItemBits)0x0004)
+#define TIB_LEFT ((ToolBoxItemBits)0x0008)
+#define TIB_AUTOSIZE ((ToolBoxItemBits)0x0010)
+#define TIB_DROPDOWN ((ToolBoxItemBits)0x0020)
+#define TIB_REPEAT ((ToolBoxItemBits)0x0040)
+
+enum ButtonType { BUTTON_SYMBOL, BUTTON_TEXT, BUTTON_SYMBOLTEXT };
+
+enum ToolBoxItemType { TOOLBOXITEM_DONTKNOW, TOOLBOXITEM_BUTTON,
+ TOOLBOXITEM_SPACE, TOOLBOXITEM_SEPARATOR,
+ TOOLBOXITEM_BREAK };
+
+
+// ---------------
+// - WindowAlign -
+// ---------------
+
+// from vcl/inc/wintypes.hxx
+enum WindowAlign { WINDOWALIGN_LEFT, WINDOWALIGN_TOP, WINDOWALIGN_RIGHT, WINDOWALIGN_BOTTOM };
+enum ImageAlign { IMAGEALIGN_LEFT, IMAGEALIGN_TOP, IMAGEALIGN_RIGHT, IMAGEALIGN_BOTTOM };
+
+// --------------
+// - Menu-Types -
+// --------------
+
+// from vcl/inc/menu.hxx
+enum MenuItemType { MENUITEM_DONTKNOW, MENUITEM_STRING, MENUITEM_IMAGE,
+ MENUITEM_STRINGIMAGE, MENUITEM_SEPARATOR };
+
+typedef USHORT MenuItemBits;
+
+#define MIB_CHECKABLE ((MenuItemBits)0x0001)
+#define MIB_RADIOCHECK ((MenuItemBits)0x0002)
+#define MIB_AUTOCHECK ((MenuItemBits)0x0004)
+#define MIB_ABOUT ((MenuItemBits)0x0008)
+#define MIB_HELP ((MenuItemBits)0x0010)
+#define MIB_POPUPSELECT ((MenuItemBits)0x0020)
+
+// ----------------
+// - Symbol-Types -
+// ----------------
+
+// from vcl/inc/symbol.hxx
+typedef USHORT SymbolType;
+#define SYMBOL_DONTKNOW ((SymbolType)0)
+#define SYMBOL_IMAGE ((SymbolType)1)
+#define SYMBOL_ARROW_UP ((SymbolType)2)
+#define SYMBOL_ARROW_DOWN ((SymbolType)3)
+#define SYMBOL_ARROW_LEFT ((SymbolType)4)
+#define SYMBOL_ARROW_RIGHT ((SymbolType)5)
+#define SYMBOL_SPIN_UP ((SymbolType)6)
+#define SYMBOL_SPIN_DOWN ((SymbolType)7)
+#define SYMBOL_SPIN_LEFT ((SymbolType)8)
+#define SYMBOL_SPIN_RIGHT ((SymbolType)9)
+#define SYMBOL_FIRST ((SymbolType)10)
+#define SYMBOL_LAST ((SymbolType)11)
+#define SYMBOL_PREV ((SymbolType)12)
+#define SYMBOL_NEXT ((SymbolType)13)
+#define SYMBOL_PAGEUP ((SymbolType)14)
+#define SYMBOL_PAGEDOWN ((SymbolType)15)
+#define SYMBOL_PLAY ((SymbolType)16)
+#define SYMBOL_REVERSEPLAY ((SymbolType)17)
+#define SYMBOL_RECORD ((SymbolType)18)
+#define SYMBOL_STOP ((SymbolType)19)
+#define SYMBOL_PAUSE ((SymbolType)20)
+#define SYMBOL_WINDSTART ((SymbolType)21)
+#define SYMBOL_WINDEND ((SymbolType)22)
+#define SYMBOL_WINDBACKWARD ((SymbolType)23)
+#define SYMBOL_WINDFORWARD ((SymbolType)24)
+#define SYMBOL_CLOSE ((SymbolType)25)
+#define SYMBOL_ROLLUP ((SymbolType)26)
+#define SYMBOL_ROLLDOWN ((SymbolType)27)
+#define SYMBOL_CHECKMARK ((SymbolType)28)
+#define SYMBOL_RADIOCHECKMARK ((SymbolType)29)
+#define SYMBOL_SPIN_UPDOWN ((SymbolType)30)
+#define SYMBOL_FLOAT ((SymbolType)31)
+#define SYMBOL_DOCK ((SymbolType)32)
+#define SYMBOL_HIDE ((SymbolType)33)
+#define SYMBOL_HELP ((SymbolType)34)
+#define SYMBOL_OS2CLOSE ((SymbolType)35)
+#define SYMBOL_OS2FLOAT ((SymbolType)36)
+#define SYMBOL_OS2HIDE ((SymbolType)37)
+
+#define SYMBOL_NOSYMBOL (SYMBOL_DONTKNOW)
+
+#endif