1*bd113a03SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*bd113a03SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*bd113a03SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*bd113a03SAndrew Rist * distributed with this work for additional information 6*bd113a03SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*bd113a03SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*bd113a03SAndrew Rist * "License"); you may not use this file except in compliance 9*bd113a03SAndrew Rist * with the License. You may obtain a copy of the License at 10*bd113a03SAndrew Rist * 11*bd113a03SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*bd113a03SAndrew Rist * 13*bd113a03SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*bd113a03SAndrew Rist * software distributed under the License is distributed on an 15*bd113a03SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*bd113a03SAndrew Rist * KIND, either express or implied. See the License for the 17*bd113a03SAndrew Rist * specific language governing permissions and limitations 18*bd113a03SAndrew Rist * under the License. 19*bd113a03SAndrew Rist * 20*bd113a03SAndrew Rist *************************************************************/ 21*bd113a03SAndrew Rist 22*bd113a03SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_ 25cdf0e10cSrcweir#define _EXTENSIONS_DBP_DBPRESID_HRC_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#include "dbpilots.hrc" 28cdf0e10cSrcweir#include "extensio.hrc" 29cdf0e10cSrcweir 30cdf0e10cSrcweir//======================================================================== 31cdf0e10cSrcweir// basics 32cdf0e10cSrcweir 33cdf0e10cSrcweir#define RID_DIALOG_START RID_DBP_START 34cdf0e10cSrcweir#define RID_PAGE_START RID_DBP_START 35cdf0e10cSrcweir#define RID_STRING_START RID_DBP_START 36cdf0e10cSrcweir#define RID_ERRORBOX_START RID_DBP_START 37cdf0e10cSrcweir 38cdf0e10cSrcweir//======================================================================== 39cdf0e10cSrcweir// strings 40cdf0e10cSrcweir 41cdf0e10cSrcweir#define RID_STR_GROUPWIZ_DBFIELD (RID_STRING_START + 1 ) 42cdf0e10cSrcweir#define RID_STR_COMBOWIZ_DBFIELD (RID_STRING_START + 2 ) 43cdf0e10cSrcweir#define RID_STR_LISTWIZARD_TITLE (RID_STRING_START + 3 ) 44cdf0e10cSrcweir#define RID_STR_COMBOWIZARD_TITLE (RID_STRING_START + 4 ) 45cdf0e10cSrcweir#define RID_STR_COULDNOTOPENTABLE (RID_STRING_START + 5 ) 46cdf0e10cSrcweir#define RID_STR_DATEPOSTFIX (RID_STRING_START + 6 ) 47cdf0e10cSrcweir#define RID_STR_TIMEPOSTFIX (RID_STRING_START + 7 ) 48cdf0e10cSrcweir#define RID_STR_TYPE_QUERY (RID_STRING_START + 8 ) 49cdf0e10cSrcweir#define RID_STR_TYPE_TABLE (RID_STRING_START + 9 ) 50cdf0e10cSrcweir#define RID_STR_TYPE_COMMAND (RID_STRING_START + 10 ) 51cdf0e10cSrcweir 52cdf0e10cSrcweir// please adjust RID_STRING_END (below) when adding new strings 53cdf0e10cSrcweir#define RID_STRING_END RID_STR_TIMEPOSTFIX 54cdf0e10cSrcweir 55cdf0e10cSrcweir//======================================================================== 56cdf0e10cSrcweir// dialogs 57cdf0e10cSrcweir 58cdf0e10cSrcweir#define RID_DLG_GROUPBOXWIZARD ( RID_DIALOG_START + 1 ) 59cdf0e10cSrcweir#define RID_DLG_LISTCOMBOWIZARD ( RID_DIALOG_START + 2 ) 60cdf0e10cSrcweir#define RID_DLG_GRIDWIZARD ( RID_DIALOG_START + 3 ) 61cdf0e10cSrcweir 62cdf0e10cSrcweir// please adjust RID_DIALOG_END (below) when adding new dialogs 63cdf0e10cSrcweir#define RID_DIALOG_END RID_DLG_GRIDWIZARD 64cdf0e10cSrcweir 65cdf0e10cSrcweir//======================================================================== 66cdf0e10cSrcweir// tab pages 67cdf0e10cSrcweir 68cdf0e10cSrcweir#define RID_PAGE_TABLESELECTION ( RID_PAGE_START + 1 ) 69cdf0e10cSrcweir#define RID_PAGE_GROUPRADIOSELECTION ( RID_PAGE_START + 2 ) 70cdf0e10cSrcweir#define RID_PAGE_DEFAULTFIELDSELECTION ( RID_PAGE_START + 3 ) 71cdf0e10cSrcweir#define RID_PAGE_OPTIONVALUES ( RID_PAGE_START + 4 ) 72cdf0e10cSrcweir#define RID_PAGE_OPTION_DBFIELD ( RID_PAGE_START + 5 ) 73cdf0e10cSrcweir#define RID_PAGE_OPTIONS_FINAL ( RID_PAGE_START + 6 ) 74cdf0e10cSrcweir#define RID_PAGE_LCW_CONTENTSELECTION_TABLE ( RID_PAGE_START + 7 ) 75cdf0e10cSrcweir#define RID_PAGE_LCW_CONTENTSELECTION_FIELD ( RID_PAGE_START + 8 ) 76cdf0e10cSrcweir#define RID_PAGE_LCW_FIELDLINK ( RID_PAGE_START + 9 ) 77cdf0e10cSrcweir#define RID_PAGE_GW_FIELDSELECTION ( RID_PAGE_START + 10 ) 78cdf0e10cSrcweir#define RID_PAGE_FORM_DATASOURCE_STATUS ( RID_PAGE_START + 11 ) 79cdf0e10cSrcweir 80cdf0e10cSrcweir// please adjust RID_PAGE_END (below) when adding new tab pages 81cdf0e10cSrcweir#define RID_PAGE_END RID_PAGE_GW_FIELDSELECTION 82cdf0e10cSrcweir 83cdf0e10cSrcweir//======================================================================== 84cdf0e10cSrcweir// ErrorBox 85cdf0e10cSrcweir 86cdf0e10cSrcweir#define RID_ERR_INVALID_FORM_CONNECTION ( RID_ERRORBOX_START + 1 ) 87cdf0e10cSrcweir 88cdf0e10cSrcweir// please adjust RID_ERRORBOX_END (below) when adding new error boxes 89cdf0e10cSrcweir#define RID_ERRORBOX_END RID_ERR_INVALID_FORM_CONNECTION 90cdf0e10cSrcweir 91cdf0e10cSrcweir 92cdf0e10cSrcweir//======================================================================== 93cdf0e10cSrcweir//======================================================================== 94cdf0e10cSrcweir//= range checks 95cdf0e10cSrcweir 96cdf0e10cSrcweir#if RID_STRING_END > RID_DBP_END 97cdf0e10cSrcweir #error "please adjust the resource id ranges!!" 98cdf0e10cSrcweir#endif 99cdf0e10cSrcweir#if RID_DIALOG_END > RID_DBP_END 100cdf0e10cSrcweir #error "please adjust the resource id ranges!!" 101cdf0e10cSrcweir#endif 102cdf0e10cSrcweir#if RID_PAGE_END > RID_DBP_END 103cdf0e10cSrcweir #error "please adjust the resource id ranges!!" 104cdf0e10cSrcweir#endif 105cdf0e10cSrcweir#if RID_ERRORBOX_END > RID_DBP_END 106cdf0e10cSrcweir #error "please adjust the resource id ranges!!" 107cdf0e10cSrcweir#endif 108cdf0e10cSrcweir 109cdf0e10cSrcweir//======================================================================== 110cdf0e10cSrcweir// local ids 111cdf0e10cSrcweir 112cdf0e10cSrcweir//........................................................................ 113cdf0e10cSrcweir// FixedLine 114cdf0e10cSrcweir 115cdf0e10cSrcweir#define FL_DATA 1 116cdf0e10cSrcweir#define FL_DEFAULTSELECTION 2 117cdf0e10cSrcweir#define FL_OPTIONVALUES 3 118cdf0e10cSrcweir#define FL_DATABASEFIELD_EXPL 4 119cdf0e10cSrcweir#define FL_NAMEIT 5 120cdf0e10cSrcweir#define FL_FRAME 6 121cdf0e10cSrcweir#define FL_FORMSETINGS 7 122cdf0e10cSrcweir 123cdf0e10cSrcweir//........................................................................ 124cdf0e10cSrcweir// FixedText 125cdf0e10cSrcweir 126cdf0e10cSrcweir#define FT_DATASOURCE 1 127cdf0e10cSrcweir#define FT_TABLE 2 128cdf0e10cSrcweir#define FT_RADIOLABELS 3 129cdf0e10cSrcweir#define FT_RADIOBUTTONS 4 130cdf0e10cSrcweir#define FT_DEFAULTSELECTION 5 131cdf0e10cSrcweir#define FT_OPTIONVALUES_EXPL 6 132cdf0e10cSrcweir#define FT_OPTIONVALUES 7 133cdf0e10cSrcweir#define FT_DATABASEFIELD_EXPL 8 134cdf0e10cSrcweir#define FT_DATABASEFIELD_QUEST 9 135cdf0e10cSrcweir#define FT_NAMEIT 10 136cdf0e10cSrcweir#define FT_THATSALL 11 137cdf0e10cSrcweir#define FT_SELECTTABLE_LABEL 12 138cdf0e10cSrcweir#define FT_TABLEFIELDS 13 139cdf0e10cSrcweir#define FT_DISPLAYEDFIELD 14 140cdf0e10cSrcweir#define FT_CONTENTFIELD_INFO 15 141cdf0e10cSrcweir#define FT_VALUELISTFIELD 16 142cdf0e10cSrcweir#define FT_TABLEFIELD 17 143cdf0e10cSrcweir#define FT_EXPLANATION 18 144cdf0e10cSrcweir#define FT_EXISTING_FIELDS 19 145cdf0e10cSrcweir#define FT_SELECTED_FIELDS 20 146cdf0e10cSrcweir#define FT_FIELDLINK_DESC 21 147cdf0e10cSrcweir#define FT_FORMDATASOURCELABEL 22 148cdf0e10cSrcweir#define FT_FORMDATASOURCE 23 149cdf0e10cSrcweir#define FT_FORMTABLELABEL 24 150cdf0e10cSrcweir#define FT_FORMTABLE 25 151cdf0e10cSrcweir#define FT_FORMCONTENTTYPELABEL 26 152cdf0e10cSrcweir#define FT_FORMCONTENTTYPE 27 153cdf0e10cSrcweir 154cdf0e10cSrcweir//........................................................................ 155cdf0e10cSrcweir// ListBox 156cdf0e10cSrcweir 157cdf0e10cSrcweir#define LB_DATASOURCE 1 158cdf0e10cSrcweir#define LB_TABLE 2 159cdf0e10cSrcweir#define LB_RADIOBUTTONS 3 160cdf0e10cSrcweir#define LB_DEFSELECTIONFIELD 3 161cdf0e10cSrcweir#define LB_STOREINFIELD 4 162cdf0e10cSrcweir#define LB_SELECTTABLE 5 163cdf0e10cSrcweir#define LB_SELECTFIELD 6 164cdf0e10cSrcweir#define LB_EXISTING_FIELDS 7 165cdf0e10cSrcweir#define LB_SELECTED_FIELDS 8 166cdf0e10cSrcweir 167cdf0e10cSrcweir//........................................................................ 168cdf0e10cSrcweir// Edit 169cdf0e10cSrcweir 170cdf0e10cSrcweir#define ET_RADIOLABELS 1 171cdf0e10cSrcweir#define ET_OPTIONVALUE 2 172cdf0e10cSrcweir#define ET_NAMEIT 3 173cdf0e10cSrcweir#define ET_DISPLAYEDFIELD 4 174cdf0e10cSrcweir 175cdf0e10cSrcweir//........................................................................ 176cdf0e10cSrcweir// PushButton 177cdf0e10cSrcweir 178cdf0e10cSrcweir#define PB_MOVETORIGHT 1 179cdf0e10cSrcweir#define PB_MOVETOLEFT 2 180cdf0e10cSrcweir#define PB_FIELDRIGHT 3 181cdf0e10cSrcweir#define PB_ALLFIELDSRIGHT 4 182cdf0e10cSrcweir#define PB_FIELDLEFT 5 183cdf0e10cSrcweir#define PB_ALLFIELDSLEFT 6 184cdf0e10cSrcweir#define PB_FORMDATASOURCE 7 185cdf0e10cSrcweir 186cdf0e10cSrcweir//........................................................................ 187cdf0e10cSrcweir// RadioButton 188cdf0e10cSrcweir 189cdf0e10cSrcweir#define RB_DEFSELECTION_YES 1 190cdf0e10cSrcweir#define RB_DEFSELECTION_NO 2 191cdf0e10cSrcweir#define RB_STOREINFIELD_YES 3 192cdf0e10cSrcweir#define RB_STOREINFIELD_NO 4 193cdf0e10cSrcweir 194cdf0e10cSrcweir//........................................................................ 195cdf0e10cSrcweir// ComboBox 196cdf0e10cSrcweir 197cdf0e10cSrcweir#define CMB_VALUELISTFIELD 1 198cdf0e10cSrcweir#define CMB_TABLEFIELD 2 199cdf0e10cSrcweir 200cdf0e10cSrcweir//........................................................................ 201cdf0e10cSrcweir// String 202cdf0e10cSrcweir 203cdf0e10cSrcweir#define STR_FIELDINFO_LISTBOX 1 204cdf0e10cSrcweir#define STR_FIELDINFO_COMBOBOX 2 205cdf0e10cSrcweir 206cdf0e10cSrcweir//........................................................................ 207cdf0e10cSrcweir// Image 208cdf0e10cSrcweir 209cdf0e10cSrcweir#define IMG_TABLE 1 210cdf0e10cSrcweir#define IMG_TABLE_HC 2 211cdf0e10cSrcweir#define IMG_QUERY 3 212cdf0e10cSrcweir#define IMG_QUERY_HC 4 213cdf0e10cSrcweir 214cdf0e10cSrcweir//======================================================================== 215cdf0e10cSrcweir// defines 216cdf0e10cSrcweir 217cdf0e10cSrcweir#define WINDOW_SIZE_X 260 218cdf0e10cSrcweir#define WINDOW_SIZE_Y 185 219cdf0e10cSrcweir#define WINDOW_HALF_SIZE_X ( WINDOW_SIZE_X / 2 ) 220cdf0e10cSrcweir 221cdf0e10cSrcweir#define BUTTON_SIZE_X 50 222cdf0e10cSrcweir#define BUTTON_SIZE_Y 14 223cdf0e10cSrcweir 224cdf0e10cSrcweir#define ITEM_BUTTON_SIZE_X 20 225cdf0e10cSrcweir#define ITEM_BUTTON_SIZE_Y 12 226cdf0e10cSrcweir 227cdf0e10cSrcweir 228cdf0e10cSrcweir 229cdf0e10cSrcweir#endif // _EXTENSIONS_DBP_DBPRESID_HRC_ 230cdf0e10cSrcweir 231