1*b1cdbd2cSJim Jagielski/************************************************************** 2*b1cdbd2cSJim Jagielski * 3*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one 4*b1cdbd2cSJim Jagielski * or more contributor license agreements. See the NOTICE file 5*b1cdbd2cSJim Jagielski * distributed with this work for additional information 6*b1cdbd2cSJim Jagielski * regarding copyright ownership. The ASF licenses this file 7*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the 8*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance 9*b1cdbd2cSJim Jagielski * with the License. You may obtain a copy of the License at 10*b1cdbd2cSJim Jagielski * 11*b1cdbd2cSJim Jagielski * http://www.apache.org/licenses/LICENSE-2.0 12*b1cdbd2cSJim Jagielski * 13*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing, 14*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an 15*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b1cdbd2cSJim Jagielski * KIND, either express or implied. See the License for the 17*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations 18*b1cdbd2cSJim Jagielski * under the License. 19*b1cdbd2cSJim Jagielski * 20*b1cdbd2cSJim Jagielski *************************************************************/ 21*b1cdbd2cSJim Jagielski 22*b1cdbd2cSJim Jagielski 23*b1cdbd2cSJim Jagielski 24*b1cdbd2cSJim Jagielski#define __RSC 25*b1cdbd2cSJim Jagielski 26*b1cdbd2cSJim Jagielski#ifndef UUI_IDS_HRC 27*b1cdbd2cSJim Jagielski#include <ids.hrc> 28*b1cdbd2cSJim Jagielski#endif 29*b1cdbd2cSJim Jagielski#ifndef UUI_MASTERPASSCRTDLG_HRC 30*b1cdbd2cSJim Jagielski#include <masterpasscrtdlg.hrc> 31*b1cdbd2cSJim Jagielski#endif 32*b1cdbd2cSJim Jagielski 33*b1cdbd2cSJim JagielskiModalDialog DLG_UUI_MASTERPASSWORD_CRT 34*b1cdbd2cSJim Jagielski{ 35*b1cdbd2cSJim Jagielski HelpId = HID_DLG_MASTERPASSWORD_CRT ; 36*b1cdbd2cSJim Jagielski Border = TRUE ; 37*b1cdbd2cSJim Jagielski Moveable = TRUE ; 38*b1cdbd2cSJim Jagielski OutputSize = TRUE ; 39*b1cdbd2cSJim Jagielski SVLook = TRUE ; 40*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ; 41*b1cdbd2cSJim Jagielski Text [ en-US ] = "Set Master Password"; 42*b1cdbd2cSJim Jagielski FixedText FT_INFOTEXT 43*b1cdbd2cSJim Jagielski { 44*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_0 , ROW_0 ) ; 45*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CTRL_WIDTH , 7*RSC_CD_FIXEDTEXT_HEIGHT ) ; 46*b1cdbd2cSJim Jagielski WordBreak = TRUE ; 47*b1cdbd2cSJim Jagielski Text [ en-US ] = "Passwords for web connections are protected by a master password. You will be asked to enter it once per session, if %PRODUCTNAME retrieves a password from the protected password list."; 48*b1cdbd2cSJim Jagielski }; 49*b1cdbd2cSJim Jagielski FixedLine FL_INFOTEXT 50*b1cdbd2cSJim Jagielski { 51*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 0 , ROW_1 ) ; 52*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 53*b1cdbd2cSJim Jagielski }; 54*b1cdbd2cSJim Jagielski FixedText FT_MASTERPASSWORD_CRT 55*b1cdbd2cSJim Jagielski { 56*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_0 , ROW_2 ) ; 57*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 58*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Enter password"; 59*b1cdbd2cSJim Jagielski }; 60*b1cdbd2cSJim Jagielski Edit ED_MASTERPASSWORD_CRT 61*b1cdbd2cSJim Jagielski { 62*b1cdbd2cSJim Jagielski HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_CRT"; 63*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_0 , ROW_3 ) ; 64*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ; 65*b1cdbd2cSJim Jagielski Border = TRUE ; 66*b1cdbd2cSJim Jagielski PassWord = TRUE ; 67*b1cdbd2cSJim Jagielski }; 68*b1cdbd2cSJim Jagielski FixedText FT_MASTERPASSWORD_REPEAT 69*b1cdbd2cSJim Jagielski { 70*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_0 , ROW_4 ) ; 71*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 72*b1cdbd2cSJim Jagielski Text [ en-US ] = "~Reenter password"; 73*b1cdbd2cSJim Jagielski }; 74*b1cdbd2cSJim Jagielski Edit ED_MASTERPASSWORD_REPEAT 75*b1cdbd2cSJim Jagielski { 76*b1cdbd2cSJim Jagielski HelpID = "uui:Edit:DLG_UUI_MASTERPASSWORD_CRT:ED_MASTERPASSWORD_REPEAT"; 77*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_0 , ROW_5 ) ; 78*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CTRL_WIDTH , RSC_CD_TEXTBOX_HEIGHT ) ; 79*b1cdbd2cSJim Jagielski Border = TRUE ; 80*b1cdbd2cSJim Jagielski PassWord = TRUE ; 81*b1cdbd2cSJim Jagielski }; 82*b1cdbd2cSJim Jagielski FixedText FT_CAUTIONTEXT 83*b1cdbd2cSJim Jagielski { 84*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_0 , ROW_6 ) ; 85*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( CTRL_WIDTH , 8*RSC_CD_FIXEDTEXT_HEIGHT ) ; 86*b1cdbd2cSJim Jagielski WordBreak = TRUE ; 87*b1cdbd2cSJim Jagielski Text [ en-US ] = "Caution: If you forget the master password, you will be unable to access any of the information protected by it. Passwords are case-sensitive."; 88*b1cdbd2cSJim Jagielski }; 89*b1cdbd2cSJim Jagielski FixedLine FL_CAUTIONTEXT 90*b1cdbd2cSJim Jagielski { 91*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( 0 , ROW_7 ) ; 92*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 93*b1cdbd2cSJim Jagielski }; 94*b1cdbd2cSJim Jagielski HelpButton BTN_MASTERPASSCRT_HELP 95*b1cdbd2cSJim Jagielski { 96*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_0 , ROW_8 ) ; 97*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 98*b1cdbd2cSJim Jagielski }; 99*b1cdbd2cSJim Jagielski OKButton BTN_MASTERPASSCRT_OK 100*b1cdbd2cSJim Jagielski { 101*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_1 , ROW_8 ) ; 102*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 103*b1cdbd2cSJim Jagielski DefButton = TRUE ; 104*b1cdbd2cSJim Jagielski }; 105*b1cdbd2cSJim Jagielski CancelButton BTN_MASTERPASSCRT_CANCEL 106*b1cdbd2cSJim Jagielski { 107*b1cdbd2cSJim Jagielski Pos = MAP_APPFONT ( COL_2 , ROW_8 ) ; 108*b1cdbd2cSJim Jagielski Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 109*b1cdbd2cSJim Jagielski }; 110*b1cdbd2cSJim Jagielski}; 111*b1cdbd2cSJim Jagielski 112*b1cdbd2cSJim Jagielski 113*b1cdbd2cSJim Jagielski 114*b1cdbd2cSJim Jagielski 115*b1cdbd2cSJim Jagielski 116*b1cdbd2cSJim Jagielski 117*b1cdbd2cSJim Jagielski 118*b1cdbd2cSJim Jagielski 119*b1cdbd2cSJim Jagielski 120*b1cdbd2cSJim Jagielski 121*b1cdbd2cSJim Jagielski 122*b1cdbd2cSJim Jagielski 123*b1cdbd2cSJim Jagielski 124*b1cdbd2cSJim Jagielski 125*b1cdbd2cSJim Jagielski 126*b1cdbd2cSJim Jagielski 127*b1cdbd2cSJim Jagielski 128*b1cdbd2cSJim Jagielski 129*b1cdbd2cSJim Jagielski 130*b1cdbd2cSJim Jagielski 131*b1cdbd2cSJim Jagielski 132