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