1*cdf0e10cSrcweir /************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir /************************************************************************* 29*cdf0e10cSrcweir * 30*cdf0e10cSrcweir * ATTENTION 31*cdf0e10cSrcweir * This file is intended to work inside and outside the StarOffice environment. 32*cdf0e10cSrcweir * Only adaption of file commtypes.hxx should be necessary. Else it is a bug! 33*cdf0e10cSrcweir * 34*cdf0e10cSrcweir ************************************************************************/ 35*cdf0e10cSrcweir 36*cdf0e10cSrcweir #ifndef _RCONTROL_HXX 37*cdf0e10cSrcweir #define _RCONTROL_HXX 38*cdf0e10cSrcweir 39*cdf0e10cSrcweir 40*cdf0e10cSrcweir #define UID_ACTIVE "UID_ACTIVE" 41*cdf0e10cSrcweir 42*cdf0e10cSrcweir 43*cdf0e10cSrcweir #define SI_IPCCommandBlock 1 44*cdf0e10cSrcweir #define SI_SocketCommandBlock SI_IPCCommandBlock // Zumindest erstmal 45*cdf0e10cSrcweir #define SI_DirectCommandBlock 2 46*cdf0e10cSrcweir #define SIControl 3 // remove after numeric HelpIDs are completely removed and no legacy testtool is used anymore 47*cdf0e10cSrcweir #define SISlot 4 48*cdf0e10cSrcweir #define SIFlow 5 49*cdf0e10cSrcweir #define SICommand 6 50*cdf0e10cSrcweir #define SIUnoSlot 7 51*cdf0e10cSrcweir #define SIStringControl 8 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir #define SIReturnBlock 11 54*cdf0e10cSrcweir #define SIReturn 12 55*cdf0e10cSrcweir #define SIReturnError 13 56*cdf0e10cSrcweir 57*cdf0e10cSrcweir // Typisierung im Stream 58*cdf0e10cSrcweir #define BinUSHORT 11 59*cdf0e10cSrcweir #define BinULONG 14 60*cdf0e10cSrcweir #define BinString 12 61*cdf0e10cSrcweir #define BinBool 13 62*cdf0e10cSrcweir #define BinSbxValue 15 63*cdf0e10cSrcweir 64*cdf0e10cSrcweir 65*cdf0e10cSrcweir // Classes 66*cdf0e10cSrcweir // !!!Diese Defines duerfen niemals geaendert werden!!! 67*cdf0e10cSrcweir #define C_NoType -1 68*cdf0e10cSrcweir // Maximale 32 einfache Controls 69*cdf0e10cSrcweir #define C_TabControl 0 70*cdf0e10cSrcweir #define C_RadioButton 1 71*cdf0e10cSrcweir #define C_CheckBox 2 72*cdf0e10cSrcweir #define C_TriStateBox 3 73*cdf0e10cSrcweir #define C_Edit 4 74*cdf0e10cSrcweir #define C_MultiLineEdit 5 75*cdf0e10cSrcweir #define C_MultiListBox 6 76*cdf0e10cSrcweir #define C_ListBox 7 77*cdf0e10cSrcweir #define C_ComboBox 8 78*cdf0e10cSrcweir #define C_PushButton 9 79*cdf0e10cSrcweir 80*cdf0e10cSrcweir #define C_SpinField 10 81*cdf0e10cSrcweir #define C_PatternField 11 82*cdf0e10cSrcweir #define C_NumericField 12 83*cdf0e10cSrcweir #define C_MetricField 13 84*cdf0e10cSrcweir #define C_CurrencyField 14 85*cdf0e10cSrcweir #define C_DateField 15 86*cdf0e10cSrcweir #define C_TimeField 16 87*cdf0e10cSrcweir 88*cdf0e10cSrcweir #define C_ImageRadioButton 17 89*cdf0e10cSrcweir #define C_NumericBox 18 90*cdf0e10cSrcweir #define C_MetricBox 19 91*cdf0e10cSrcweir #define C_CurrencyBox 20 92*cdf0e10cSrcweir #define C_DateBox 21 93*cdf0e10cSrcweir #define C_TimeBox 22 94*cdf0e10cSrcweir 95*cdf0e10cSrcweir #define C_ImageButton 23 96*cdf0e10cSrcweir #define C_MenuButton 24 97*cdf0e10cSrcweir #define C_MoreButton 25 98*cdf0e10cSrcweir 99*cdf0e10cSrcweir // Maximale 7 Container 100*cdf0e10cSrcweir #define C_TabPage 32 101*cdf0e10cSrcweir #define C_ModalDlg 33 102*cdf0e10cSrcweir #define C_FloatWin 34 103*cdf0e10cSrcweir #define C_ModelessDlg 35 104*cdf0e10cSrcweir #define C_WorkWin 36 105*cdf0e10cSrcweir #define C_DockingWin 37 106*cdf0e10cSrcweir 107*cdf0e10cSrcweir // Diese Defines koennen geaendert werden 108*cdf0e10cSrcweir #define C_MessBox 40 109*cdf0e10cSrcweir #define C_InfoBox 41 110*cdf0e10cSrcweir #define C_WarningBox 42 111*cdf0e10cSrcweir #define C_ErrorBox 43 112*cdf0e10cSrcweir #define C_QueryBox 44 113*cdf0e10cSrcweir 114*cdf0e10cSrcweir #define C_TabDlg 45 115*cdf0e10cSrcweir #define C_SingleTabDlg 46 116*cdf0e10cSrcweir 117*cdf0e10cSrcweir #define C_Window 47 118*cdf0e10cSrcweir 119*cdf0e10cSrcweir 120*cdf0e10cSrcweir #define C_PatternBox 60 121*cdf0e10cSrcweir #define C_ToolBox 61 122*cdf0e10cSrcweir #define C_ValueSet 62 123*cdf0e10cSrcweir #define C_Control 63 124*cdf0e10cSrcweir #define C_TreeListBox 64 // Hurray the TreeListBox finally got its own Window Type 125*cdf0e10cSrcweir 126*cdf0e10cSrcweir #define C_OkButton 65 127*cdf0e10cSrcweir #define C_CancelButton 66 128*cdf0e10cSrcweir #define C_ButtonDialog 67 129*cdf0e10cSrcweir 130*cdf0e10cSrcweir #define C_Dialog 68 131*cdf0e10cSrcweir 132*cdf0e10cSrcweir 133*cdf0e10cSrcweir 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir #define M_WITH_RETURN 0x0200 // Die Variable wird zum Aufnehmen des Wertes gespeichert 136*cdf0e10cSrcweir #define M_KEY_STRING 0x0400 // Key Befehle werden umgewandelt i.e. "<return><up>" 137*cdf0e10cSrcweir #define M_SOFFICE 0x0800 // Command valid for Star/Open Office 138*cdf0e10cSrcweir #define M_MOZILLA 0x1000 // Command valid for Mozilla 139*cdf0e10cSrcweir // for MacroRecorder 140*cdf0e10cSrcweir #define M_RET_NUM_CONTROL 0x2000 // decode ULong as Control (For Tabpages, Toolboxes, ... ) 141*cdf0e10cSrcweir 142*cdf0e10cSrcweir // Methoden 143*cdf0e10cSrcweir #define M_Select 21 144*cdf0e10cSrcweir #define M_SetNoSelection 22 145*cdf0e10cSrcweir #define M_SetText 23 146*cdf0e10cSrcweir #define M_More 24 147*cdf0e10cSrcweir #define M_Less 25 148*cdf0e10cSrcweir #define M_ToMin 26 149*cdf0e10cSrcweir #define M_ToMax 27 150*cdf0e10cSrcweir #define M_Check 28 151*cdf0e10cSrcweir #define M_UnCheck 29 152*cdf0e10cSrcweir #define M_TriState 30 153*cdf0e10cSrcweir #define M_SetPage 31 154*cdf0e10cSrcweir #define M_Click 32 155*cdf0e10cSrcweir 156*cdf0e10cSrcweir #define M_Close 33 // Push Buttons on Dialog (Auch More Button) 157*cdf0e10cSrcweir #define M_Cancel 34 158*cdf0e10cSrcweir #define M_OK 35 159*cdf0e10cSrcweir #define M_Help 36 160*cdf0e10cSrcweir #define M_Default 37 // Push defaultbutton on Dialog 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir #define M_Yes 38 163*cdf0e10cSrcweir #define M_No 39 164*cdf0e10cSrcweir #define M_Repeat 40 165*cdf0e10cSrcweir 166*cdf0e10cSrcweir #define M_Open 41 167*cdf0e10cSrcweir #define M_Pick 42 168*cdf0e10cSrcweir #define M_Move 43 169*cdf0e10cSrcweir #define M_Size 44 170*cdf0e10cSrcweir #define M_Minimize 45 171*cdf0e10cSrcweir #define M_Maximize 46 172*cdf0e10cSrcweir #define M_Dock 47 173*cdf0e10cSrcweir #define M_Undock 48 174*cdf0e10cSrcweir 175*cdf0e10cSrcweir 176*cdf0e10cSrcweir 177*cdf0e10cSrcweir #define M_TypeKeys ( M_KEY_STRING | 50 ) 178*cdf0e10cSrcweir #define M_MouseDown 51 179*cdf0e10cSrcweir #define M_MouseUp 52 180*cdf0e10cSrcweir #define M_MouseMove 53 181*cdf0e10cSrcweir #define M_MouseDoubleClick 54 182*cdf0e10cSrcweir #define M_SnapShot 55 183*cdf0e10cSrcweir #define M_SetNextToolBox 56 184*cdf0e10cSrcweir #define M_OpenContextMenu 57 185*cdf0e10cSrcweir #define M_MultiSelect 58 186*cdf0e10cSrcweir 187*cdf0e10cSrcweir // Filedialog 188*cdf0e10cSrcweir #define M_SetPath 60 189*cdf0e10cSrcweir #define M_SetCurFilter 61 190*cdf0e10cSrcweir 191*cdf0e10cSrcweir // Printdialog 192*cdf0e10cSrcweir #define M_SetPrinter 70 193*cdf0e10cSrcweir #define M_CheckRange 71 194*cdf0e10cSrcweir #define M_SetRangeText 72 195*cdf0e10cSrcweir #define M_SetFirstPage 73 196*cdf0e10cSrcweir #define M_SetLastPage 74 197*cdf0e10cSrcweir #define M_CheckCollate 75 198*cdf0e10cSrcweir #define M_SetPageId 76 199*cdf0e10cSrcweir #define M_SetPageNr 77 200*cdf0e10cSrcweir 201*cdf0e10cSrcweir #define M_AnimateMouse 78 202*cdf0e10cSrcweir #define M_TearOff 79 203*cdf0e10cSrcweir 204*cdf0e10cSrcweir #define M_FadeIn 80 205*cdf0e10cSrcweir #define M_FadeOut 81 206*cdf0e10cSrcweir #define M_Pin 82 207*cdf0e10cSrcweir 208*cdf0e10cSrcweir #define M_UseMenu 83 // Use the menu of the next possible parent of given Window 209*cdf0e10cSrcweir 210*cdf0e10cSrcweir #define M_OpenMenu 84 // MenuButtons and Menus in ToolBoxes 211*cdf0e10cSrcweir 212*cdf0e10cSrcweir #define M_Restore 85 // Window Control together with M_Maximize and M_Minimize 213*cdf0e10cSrcweir 214*cdf0e10cSrcweir #define M_DisplayPercent 200 // Zum Anzeigen der Prozente des Windows 215*cdf0e10cSrcweir 216*cdf0e10cSrcweir #define M_LAST_NO_RETURN 200 217*cdf0e10cSrcweir 218*cdf0e10cSrcweir #if ( M_LAST_NO_RETURN >= M_WITH_RETURN ) 219*cdf0e10cSrcweir #error "Bereich �berschritten" 220*cdf0e10cSrcweir #endif 221*cdf0e10cSrcweir 222*cdf0e10cSrcweir #define M_Exists ( M_WITH_RETURN | 1 ) 223*cdf0e10cSrcweir #define M_NotExists ( M_WITH_RETURN | 2 ) 224*cdf0e10cSrcweir #define M_IsEnabled ( M_WITH_RETURN | 3 ) 225*cdf0e10cSrcweir #define M_IsVisible ( M_WITH_RETURN | 4 ) 226*cdf0e10cSrcweir #define M_IsWritable ( M_WITH_RETURN | 5 ) 227*cdf0e10cSrcweir 228*cdf0e10cSrcweir #define M_GetPage ( M_WITH_RETURN | 6 ) 229*cdf0e10cSrcweir #define M_IsChecked ( M_WITH_RETURN | 7 ) 230*cdf0e10cSrcweir #define M_IsTristate ( M_WITH_RETURN | 8 ) 231*cdf0e10cSrcweir #define M_GetState ( M_WITH_RETURN | 9 ) 232*cdf0e10cSrcweir #define M_GetText ( M_WITH_RETURN | 10 ) 233*cdf0e10cSrcweir #define M_GetSelCount ( M_WITH_RETURN | 11 ) 234*cdf0e10cSrcweir #define M_GetSelIndex ( M_WITH_RETURN | 12 ) 235*cdf0e10cSrcweir #define M_GetSelText ( M_WITH_RETURN | 13 ) 236*cdf0e10cSrcweir #define M_GetItemCount ( M_WITH_RETURN | 14 ) 237*cdf0e10cSrcweir #define M_GetItemText ( M_WITH_RETURN | 15 ) 238*cdf0e10cSrcweir #define M_IsOpen ( M_WITH_RETURN | 16 ) 239*cdf0e10cSrcweir #define M_Caption ( M_WITH_RETURN | 17 ) 240*cdf0e10cSrcweir #define M_IsMax ( M_WITH_RETURN | 18 ) 241*cdf0e10cSrcweir #define M_IsDocked ( M_WITH_RETURN | 19 ) 242*cdf0e10cSrcweir #define M_GetRT ( M_WITH_RETURN | 20 ) 243*cdf0e10cSrcweir #define M_GetPageId ( M_WITH_RETURN | 21 ) 244*cdf0e10cSrcweir #define M_GetPageCount ( M_WITH_RETURN | 22 ) 245*cdf0e10cSrcweir #define M_GetPosX ( M_WITH_RETURN | 23 ) 246*cdf0e10cSrcweir #define M_GetPosY ( M_WITH_RETURN | 24 ) 247*cdf0e10cSrcweir #define M_GetSizeX ( M_WITH_RETURN | 25 ) 248*cdf0e10cSrcweir #define M_GetSizeY ( M_WITH_RETURN | 26 ) 249*cdf0e10cSrcweir #define M_GetNextToolBox ( M_WITH_RETURN | 27 ) 250*cdf0e10cSrcweir #define M_GetButtonCount ( M_WITH_RETURN | 28 ) 251*cdf0e10cSrcweir #define M_GetButtonId ( M_WITH_RETURN | 29 ) 252*cdf0e10cSrcweir 253*cdf0e10cSrcweir #define M_IsFadeIn ( M_WITH_RETURN | 30 ) 254*cdf0e10cSrcweir #define M_IsPin ( M_WITH_RETURN | 31 ) 255*cdf0e10cSrcweir 256*cdf0e10cSrcweir // Statusbar 257*cdf0e10cSrcweir #define M_StatusGetText ( M_WITH_RETURN | 32 ) 258*cdf0e10cSrcweir #define M_StatusIsProgress ( M_WITH_RETURN | 33 ) 259*cdf0e10cSrcweir #define M_StatusGetItemCount ( M_WITH_RETURN | 34 ) 260*cdf0e10cSrcweir #define M_StatusGetItemId ( M_WITH_RETURN | 35 ) 261*cdf0e10cSrcweir 262*cdf0e10cSrcweir // 263*cdf0e10cSrcweir #define M_GetMouseStyle ( M_WITH_RETURN | 36 ) 264*cdf0e10cSrcweir 265*cdf0e10cSrcweir // support for Messagebox with checkbox 266*cdf0e10cSrcweir #define M_GetCheckBoxText ( M_WITH_RETURN | 37 ) 267*cdf0e10cSrcweir 268*cdf0e10cSrcweir // Scrollbars 269*cdf0e10cSrcweir #define M_HasScrollBar ( M_WITH_RETURN | 38 ) 270*cdf0e10cSrcweir #define M_IsScrollBarEnabled ( M_WITH_RETURN | 39 ) 271*cdf0e10cSrcweir 272*cdf0e10cSrcweir // Dieser befehl wird nur intern im Controller (sts library) verwendet. Sie tauchen nicht im Testtool auf! 273*cdf0e10cSrcweir #define _M_IsEnabled ( M_WITH_RETURN | 50 ) 274*cdf0e10cSrcweir 275*cdf0e10cSrcweir 276*cdf0e10cSrcweir #define M_GetFixedTextCount ( M_WITH_RETURN | 51 ) 277*cdf0e10cSrcweir #define M_GetFixedText ( M_WITH_RETURN | 52 ) 278*cdf0e10cSrcweir 279*cdf0e10cSrcweir 280*cdf0e10cSrcweir #define M_IsMin ( M_WITH_RETURN | 53 ) 281*cdf0e10cSrcweir #define M_IsRestore ( M_WITH_RETURN | 54 ) 282*cdf0e10cSrcweir 283*cdf0e10cSrcweir #define M_GetItemType ( M_WITH_RETURN | 55 ) 284*cdf0e10cSrcweir 285*cdf0e10cSrcweir // Commands for (Edit)BrowseBox 286*cdf0e10cSrcweir #define M_GetColumnCount ( M_WITH_RETURN | 56 ) 287*cdf0e10cSrcweir #define M_GetRowCount ( M_WITH_RETURN | 57 ) 288*cdf0e10cSrcweir #define M_IsEditing ( M_WITH_RETURN | 58 ) 289*cdf0e10cSrcweir 290*cdf0e10cSrcweir #define M_IsItemEnabled ( M_WITH_RETURN | 59 ) 291*cdf0e10cSrcweir 292*cdf0e10cSrcweir //#define M_SOFFICE 0x0800 // Command valid for Star/Open Office 293*cdf0e10cSrcweir //#define M_MOZILLA 0x1000 // Command valid for Mozilla 294*cdf0e10cSrcweir 295*cdf0e10cSrcweir 296*cdf0e10cSrcweir // RemoteCommands 297*cdf0e10cSrcweir #define RC_AppAbort ( M_SOFFICE | M_MOZILLA | 1 ) 298*cdf0e10cSrcweir #define RC_SetClipboard ( M_SOFFICE | M_MOZILLA | 2 ) 299*cdf0e10cSrcweir #define RC_NoDebug ( M_SOFFICE | M_MOZILLA | 3 ) 300*cdf0e10cSrcweir #define RC_Debug ( M_SOFFICE | M_MOZILLA | 4 ) 301*cdf0e10cSrcweir #define RC_GPF ( M_SOFFICE | M_MOZILLA | 5 ) 302*cdf0e10cSrcweir #define RC_DisplayHid ( M_SOFFICE | M_MOZILLA | 6 ) 303*cdf0e10cSrcweir #define RC_AppDelay ( M_SOFFICE | M_MOZILLA | 7 ) 304*cdf0e10cSrcweir #define RC_UseBindings ( M_SOFFICE | 8 ) 305*cdf0e10cSrcweir #define RC_Profile ( M_SOFFICE | M_MOZILLA | 9 ) 306*cdf0e10cSrcweir // (Popup)Menu 307*cdf0e10cSrcweir #define RC_MenuSelect ( M_SOFFICE | M_MOZILLA | 10 ) 308*cdf0e10cSrcweir #define RC_SetControlType ( M_SOFFICE | 11 ) // deprecated since RTTI 309*cdf0e10cSrcweir // RemoteFileAccess 310*cdf0e10cSrcweir #define RC_Kill ( M_SOFFICE | 12 ) 311*cdf0e10cSrcweir #define RC_RmDir ( M_SOFFICE | 13 ) 312*cdf0e10cSrcweir #define RC_MkDir ( M_SOFFICE | 14 ) 313*cdf0e10cSrcweir #define RC_FileCopy ( M_SOFFICE | 15 ) 314*cdf0e10cSrcweir #define RC_Name ( M_SOFFICE | 16 ) 315*cdf0e10cSrcweir 316*cdf0e10cSrcweir #define RC_CaptureAssertions (M_SOFFICE | M_MOZILLA | 17 ) 317*cdf0e10cSrcweir #define RC_Assert ( M_SOFFICE | M_MOZILLA | 18 ) 318*cdf0e10cSrcweir 319*cdf0e10cSrcweir #define RC_MenuOpen ( M_SOFFICE | M_MOZILLA | 19 ) 320*cdf0e10cSrcweir 321*cdf0e10cSrcweir #define RC_TypeKeysDelay ( M_SOFFICE | M_MOZILLA | 20 ) 322*cdf0e10cSrcweir 323*cdf0e10cSrcweir #define RC_ShowBar ( M_MOZILLA | 21 ) 324*cdf0e10cSrcweir 325*cdf0e10cSrcweir #define RC_LoadURL ( M_MOZILLA | 22 ) 326*cdf0e10cSrcweir 327*cdf0e10cSrcweir #define RC_CloseSysDialog ( M_SOFFICE | 23 ) 328*cdf0e10cSrcweir 329*cdf0e10cSrcweir #define RC_SAXRelease ( M_SOFFICE | 24 ) 330*cdf0e10cSrcweir 331*cdf0e10cSrcweir #define RC_RecordMacro ( M_SOFFICE | 25 ) 332*cdf0e10cSrcweir 333*cdf0e10cSrcweir #define RC_ActivateDocument ( M_SOFFICE | 26 ) 334*cdf0e10cSrcweir 335*cdf0e10cSrcweir #define RC_CatchGPF ( M_SOFFICE | 27 ) 336*cdf0e10cSrcweir 337*cdf0e10cSrcweir #define _RC_LAST_NO_RETURN 27 338*cdf0e10cSrcweir 339*cdf0e10cSrcweir #if ( _RC_LAST_NO_RETURN >= M_WITH_RETURN ) 340*cdf0e10cSrcweir #error "Bereich �berschritten" 341*cdf0e10cSrcweir #endif 342*cdf0e10cSrcweir 343*cdf0e10cSrcweir // Befehle mit Returnwert 344*cdf0e10cSrcweir #define RC_GetClipboard ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 1 ) 345*cdf0e10cSrcweir #define RC_WinTree ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 2 ) 346*cdf0e10cSrcweir #define RC_ResetApplication ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 3 ) 347*cdf0e10cSrcweir #define RC_GetNextCloseWindow ( M_SOFFICE | M_WITH_RETURN | 4 ) 348*cdf0e10cSrcweir #define RC_ApplicationBusy ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 5 ) 349*cdf0e10cSrcweir // (Popup)Menu 350*cdf0e10cSrcweir #define RC_MenuGetItemCount ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 6 ) 351*cdf0e10cSrcweir #define RC_MenuGetItemId ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 7 ) 352*cdf0e10cSrcweir #define RC_MenuGetItemPos ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 8 ) 353*cdf0e10cSrcweir #define RC_MenuIsSeperator ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 9 ) 354*cdf0e10cSrcweir #define RC_MenuIsItemChecked ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 10 ) 355*cdf0e10cSrcweir #define RC_MenuIsItemEnabled ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 11 ) 356*cdf0e10cSrcweir #define RC_MenuGetItemText ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 12 ) 357*cdf0e10cSrcweir // RemoteFileAccess 358*cdf0e10cSrcweir #define RC_Dir ( M_SOFFICE | M_WITH_RETURN | 18 ) 359*cdf0e10cSrcweir #define RC_FileLen ( M_SOFFICE | M_WITH_RETURN | 19 ) 360*cdf0e10cSrcweir #define RC_FileDateTime ( M_SOFFICE | M_WITH_RETURN | 20 ) 361*cdf0e10cSrcweir 362*cdf0e10cSrcweir #define RC_Translate ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 21 ) 363*cdf0e10cSrcweir #define RC_GetMouseStyle ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 22 ) 364*cdf0e10cSrcweir #define RC_UnpackStorage ( M_SOFFICE | M_WITH_RETURN | 23 ) 365*cdf0e10cSrcweir 366*cdf0e10cSrcweir #define RC_IsBarVisible ( M_MOZILLA | M_WITH_RETURN | 24 ) 367*cdf0e10cSrcweir 368*cdf0e10cSrcweir #define RC_MenuGetItemCommand ( M_SOFFICE | M_MOZILLA | M_WITH_RETURN | 25 ) 369*cdf0e10cSrcweir 370*cdf0e10cSrcweir #define RC_ExistsSysDialog ( M_SOFFICE | M_WITH_RETURN | 26 ) 371*cdf0e10cSrcweir 372*cdf0e10cSrcweir #define RC_SAXCheckWellformed ( M_SOFFICE | M_WITH_RETURN | 27 ) 373*cdf0e10cSrcweir #define RC_SAXReadFile ( M_SOFFICE | M_WITH_RETURN | 28 ) 374*cdf0e10cSrcweir 375*cdf0e10cSrcweir #define RC_SAXGetNodeType ( M_SOFFICE | M_WITH_RETURN | 29 ) 376*cdf0e10cSrcweir #define RC_SAXGetElementName ( M_SOFFICE | M_WITH_RETURN | 30 ) 377*cdf0e10cSrcweir #define RC_SAXGetChars ( M_SOFFICE | M_WITH_RETURN | 31 ) 378*cdf0e10cSrcweir #define RC_SAXGetChildCount ( M_SOFFICE | M_WITH_RETURN | 32 ) 379*cdf0e10cSrcweir #define RC_SAXGetAttributeCount ( M_SOFFICE | M_WITH_RETURN | 33 ) 380*cdf0e10cSrcweir #define RC_SAXGetAttributeName ( M_SOFFICE | M_WITH_RETURN | 34 ) 381*cdf0e10cSrcweir #define RC_SAXGetAttributeValue ( M_SOFFICE | M_WITH_RETURN | 35 ) 382*cdf0e10cSrcweir #define RC_SAXSeekElement ( M_SOFFICE | M_WITH_RETURN | 36 ) 383*cdf0e10cSrcweir #define RC_SAXHasElement ( M_SOFFICE | M_WITH_RETURN | 37 ) 384*cdf0e10cSrcweir #define RC_SAXGetElementPath ( M_SOFFICE | M_WITH_RETURN | 38 ) 385*cdf0e10cSrcweir 386*cdf0e10cSrcweir #define RC_GetDocumentCount ( M_SOFFICE | M_WITH_RETURN | 39 ) 387*cdf0e10cSrcweir 388*cdf0e10cSrcweir #define RC_GetSystemLanguage ( M_SOFFICE | M_WITH_RETURN | 40 ) 389*cdf0e10cSrcweir 390*cdf0e10cSrcweir #define RC_IsProduct ( M_SOFFICE | M_WITH_RETURN | 41 ) 391*cdf0e10cSrcweir 392*cdf0e10cSrcweir #define RC_MenuHasSubMenu ( M_SOFFICE | M_WITH_RETURN | 42 ) 393*cdf0e10cSrcweir 394*cdf0e10cSrcweir #define RC_UsePostEvents ( M_SOFFICE | M_WITH_RETURN | 43 ) 395*cdf0e10cSrcweir 396*cdf0e10cSrcweir #define RC_WaitSlot ( M_SOFFICE | M_WITH_RETURN | 44 ) 397*cdf0e10cSrcweir 398*cdf0e10cSrcweir // Flow Control 399*cdf0e10cSrcweir #define F_EndCommandBlock 101 // Initiiert R�ckmeldung des Status 400*cdf0e10cSrcweir #define F_Sequence 102 // �bergibt Sequence Nummer (1. in jedem Stream) 401*cdf0e10cSrcweir 402*cdf0e10cSrcweir // Return codes 403*cdf0e10cSrcweir #define RET_Sequence 132 // �bergibt Sequence Nummer (1. in jedem Stream) 404*cdf0e10cSrcweir #define RET_Value 133 // �bergibt Return-wert 405*cdf0e10cSrcweir #define RET_WinInfo 134 // Information �ber aktuelles Fenster/Control 406*cdf0e10cSrcweir #define RET_ProfileInfo 135 // Profile Information 407*cdf0e10cSrcweir #define RET_DirectLoging 136 // Direktes �bertragen von Informationen in das Log 408*cdf0e10cSrcweir #define RET_MacroRecorder 137 // MakroRecorder Befehl �bertragen 409*cdf0e10cSrcweir 410*cdf0e10cSrcweir 411*cdf0e10cSrcweir 412*cdf0e10cSrcweir // Subcodes die in nUId geliefert werden 413*cdf0e10cSrcweir // f�r F_ProfileInfo 414*cdf0e10cSrcweir #define S_ProfileReset 201 // nNr1 = Anzahl Borders 415*cdf0e10cSrcweir // Achtung!! Diese Defines m�ssen aufeinanderfolgende Nummern haben!! 416*cdf0e10cSrcweir #define S_ProfileBorder1 202 // nNr1 = Border1 in ms 417*cdf0e10cSrcweir #define S_ProfileBorder2 203 // nNr1 = Border2 in ms 418*cdf0e10cSrcweir #define S_ProfileBorder3 204 // nNr1 = Border3 in ms 419*cdf0e10cSrcweir #define S_ProfileBorder4 205 // nNr1 = Border4 in ms 420*cdf0e10cSrcweir // Achtung Ende 421*cdf0e10cSrcweir #define S_ProfileTime 210 // nNr1 = remote Zeit des Befehls 422*cdf0e10cSrcweir #define S_ProfileDump 211 // Gibt die daten aus. 423*cdf0e10cSrcweir 424*cdf0e10cSrcweir // f�r F_DirectLoging 425*cdf0e10cSrcweir #define S_AssertError 220 426*cdf0e10cSrcweir #define S_AssertWarning 221 427*cdf0e10cSrcweir #define S_AssertTrace 222 428*cdf0e10cSrcweir #define S_QAError 223 429*cdf0e10cSrcweir 430*cdf0e10cSrcweir 431*cdf0e10cSrcweir 432*cdf0e10cSrcweir // Constants which are available in VCLTestTool scripts 433*cdf0e10cSrcweir 434*cdf0e10cSrcweir // Different types of controls recognized via RTTI 435*cdf0e10cSrcweir #define CONST_CTBrowseBox 100 436*cdf0e10cSrcweir #define CONST_CTValueSet 103 437*cdf0e10cSrcweir #define CONST_CTORoadmap 104 438*cdf0e10cSrcweir #define CONST_CTIExtensionListBox 105 439*cdf0e10cSrcweir #define CONST_CTTableControl 106 440*cdf0e10cSrcweir #define CONST_CTUnknown 199 441*cdf0e10cSrcweir 442*cdf0e10cSrcweir // Konstanten f�r das ALignment des gesuchten Splitters 443*cdf0e10cSrcweir #define CONST_ALIGN_LEFT 120 444*cdf0e10cSrcweir #define CONST_ALIGN_TOP 121 445*cdf0e10cSrcweir #define CONST_ALIGN_RIGHT 122 446*cdf0e10cSrcweir #define CONST_ALIGN_BOTTOM 123 447*cdf0e10cSrcweir 448*cdf0e10cSrcweir /// What dialog to use in RC_CloseSysDialog or RC_ExistsSysDialog 449*cdf0e10cSrcweir #define CONST_FilePicker 301 450*cdf0e10cSrcweir #define CONST_FolderPicker 302 451*cdf0e10cSrcweir 452*cdf0e10cSrcweir /// NodeTypes of the SAX Parser 453*cdf0e10cSrcweir #define CONST_NodeTypeCharacter 555 454*cdf0e10cSrcweir #define CONST_NodeTypeElement 556 455*cdf0e10cSrcweir #define CONST_NodeTypeComment 557 456*cdf0e10cSrcweir 457*cdf0e10cSrcweir /// ItemTypes for TreeListBox and maybe others 458*cdf0e10cSrcweir #define CONST_ItemTypeText 602 459*cdf0e10cSrcweir #define CONST_ItemTypeBMP 601 460*cdf0e10cSrcweir #define CONST_ItemTypeCheckbox 600 461*cdf0e10cSrcweir #define CONST_ItemTypeContextBMP 603 462*cdf0e10cSrcweir #define CONST_ItemTypeUnknown 604 463*cdf0e10cSrcweir 464*cdf0e10cSrcweir /// Return values for WaitSlot 465*cdf0e10cSrcweir #define CONST_WSTimeout 701 466*cdf0e10cSrcweir #define CONST_WSAborted 702 467*cdf0e10cSrcweir #define CONST_WSFinished 703 468*cdf0e10cSrcweir 469*cdf0e10cSrcweir // Beschreibt die Parametertypen als Bitfeld Reihenfolge immer! 470*cdf0e10cSrcweir // wie hier Aufgelistet 471*cdf0e10cSrcweir #define PARAM_NONE 0x0000 472*cdf0e10cSrcweir #define PARAM_USHORT_1 0x0001 473*cdf0e10cSrcweir #define PARAM_USHORT_2 0x0002 474*cdf0e10cSrcweir #define PARAM_USHORT_3 0x0100 // Nicht in der Reihe!! 475*cdf0e10cSrcweir #define PARAM_USHORT_4 0x0200 // Nicht in der Reihe!! 476*cdf0e10cSrcweir #define PARAM_ULONG_1 0x0004 477*cdf0e10cSrcweir #define PARAM_ULONG_2 0x0008 478*cdf0e10cSrcweir #define PARAM_STR_1 0x0010 479*cdf0e10cSrcweir #define PARAM_STR_2 0x0020 480*cdf0e10cSrcweir #define PARAM_BOOL_1 0x0040 481*cdf0e10cSrcweir #define PARAM_BOOL_2 0x0080 482*cdf0e10cSrcweir #define PARAM_SBXVALUE_1 0x0400 // hier mit 0x0400 Weiter!!! Siehe Oben! 483*cdf0e10cSrcweir 484*cdf0e10cSrcweir // Zus�tzliche Beschreibung!! wird auch mit dem Rest verodert 485*cdf0e10cSrcweir //#define PARAM_STR_RAW 0x8000 // Der Zeichensatz der Strings wird nicht konvertiert(f�r Fareastern) 486*cdf0e10cSrcweir 487*cdf0e10cSrcweir 488*cdf0e10cSrcweir #define ERR_SEND_TIMEOUT 100 489*cdf0e10cSrcweir #define ERR_EXEC_TIMEOUT 101 490*cdf0e10cSrcweir #define ERR_RESTART_FAIL 102 491*cdf0e10cSrcweir #define ERR_RESTART 103 492*cdf0e10cSrcweir #define ERR_NO_WIN 104 // Keine *.Win Dateien gefunden 493*cdf0e10cSrcweir #define ERR_NO_SID 105 // Keine *.Sid Dateien gefunden 494*cdf0e10cSrcweir #define ERR_NO_FILE 106 // Datei nicht gefunden 495*cdf0e10cSrcweir 496*cdf0e10cSrcweir #endif 497