1*81d089aeSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*81d089aeSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*81d089aeSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*81d089aeSAndrew Rist * distributed with this work for additional information 6*81d089aeSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*81d089aeSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*81d089aeSAndrew Rist * "License"); you may not use this file except in compliance 9*81d089aeSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*81d089aeSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*81d089aeSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*81d089aeSAndrew Rist * software distributed under the License is distributed on an 15*81d089aeSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*81d089aeSAndrew Rist * KIND, either express or implied. See the License for the 17*81d089aeSAndrew Rist * specific language governing permissions and limitations 18*81d089aeSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*81d089aeSAndrew Rist *************************************************************/ 21*81d089aeSAndrew Rist 22*81d089aeSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include "dbu_dlg.hrc" 25cdf0e10cSrcweir#include "dbu_resource.hrc" 26cdf0e10cSrcweir#include "AutoControls.hrc" 27cdf0e10cSrcweir 28cdf0e10cSrcweir#define DIALOG_WIDTH 200 29cdf0e10cSrcweir#define DIALOG_HEIGHT 160 30cdf0e10cSrcweir 31cdf0e10cSrcweirModalDialog DLG_TEXT_CONNECTION_SETTINGS 32cdf0e10cSrcweir{ 33cdf0e10cSrcweir HelpID = "dbaccess:ModalDialog:DLG_TEXT_CONNECTION_SETTINGS"; 34cdf0e10cSrcweir Size = MAP_APPFONT( DIALOG_WIDTH, DIALOG_HEIGHT ); 35cdf0e10cSrcweir OutputSize = TRUE ; 36cdf0e10cSrcweir 37cdf0e10cSrcweir Moveable = TRUE ; 38cdf0e10cSrcweir Closeable = TRUE ; 39cdf0e10cSrcweir 40cdf0e10cSrcweir Text [ en-US ] = "Text Connection Settings"; 41cdf0e10cSrcweir 42cdf0e10cSrcweir AUTO_SEPARATORCONTROLGROUP( UNRELATED_CONTROLS, DIALOG_WIDTH ) 43cdf0e10cSrcweir 44cdf0e10cSrcweir OKButton 1 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Pos = MAP_APPFONT( DIALOG_WIDTH - 6 - BUTTON_WIDTH - RELATED_CONTROLS - BUTTON_WIDTH, DIALOG_HEIGHT - 6 - BUTTON_HEIGHT ); 47cdf0e10cSrcweir Size = MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT ); 48cdf0e10cSrcweir 49cdf0e10cSrcweir DefButton = TRUE; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir 52cdf0e10cSrcweir CancelButton 1 53cdf0e10cSrcweir { 54cdf0e10cSrcweir Pos = MAP_APPFONT( DIALOG_WIDTH - 6 - BUTTON_WIDTH, DIALOG_HEIGHT - 6 - BUTTON_HEIGHT ); 55cdf0e10cSrcweir Size = MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT ); 56cdf0e10cSrcweir }; 57cdf0e10cSrcweir}; 58