1*2611ca73SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*2611ca73SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*2611ca73SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*2611ca73SAndrew Rist * distributed with this work for additional information 6*2611ca73SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*2611ca73SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*2611ca73SAndrew Rist * "License"); you may not use this file except in compliance 9*2611ca73SAndrew Rist * with the License. You may obtain a copy of the License at 10*2611ca73SAndrew Rist * 11*2611ca73SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*2611ca73SAndrew Rist * 13*2611ca73SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*2611ca73SAndrew Rist * software distributed under the License is distributed on an 15*2611ca73SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*2611ca73SAndrew Rist * KIND, either express or implied. See the License for the 17*2611ca73SAndrew Rist * specific language governing permissions and limitations 18*2611ca73SAndrew Rist * under the License. 19*2611ca73SAndrew Rist * 20*2611ca73SAndrew Rist *************************************************************/ 21*2611ca73SAndrew Rist 22*2611ca73SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#define __RSC 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include "newerverwarn.hrc" 27cdf0e10cSrcweir#include "ids.hrc" 28cdf0e10cSrcweir 29cdf0e10cSrcweir#define STD_MASKCOLOR Color { Red=0xffff; Green=0x0000; Blue=0xffff; } 30cdf0e10cSrcweir 31cdf0e10cSrcweirModalDialog RID_DLG_NEWER_VERSION_WARNING 32cdf0e10cSrcweir{ 33cdf0e10cSrcweir HelpId = HID_DLG_NEWERVERSIONWARNING; 34cdf0e10cSrcweir OutputSize = TRUE ; 35cdf0e10cSrcweir Size = MAP_APPFONT ( DLG_WIDTH , DLG_HEIGHT ) ; 36cdf0e10cSrcweir SvLook = TRUE ; 37cdf0e10cSrcweir Moveable = TRUE ; 38cdf0e10cSrcweir Closeable = TRUE ; 39cdf0e10cSrcweir Text [ en-US ] = "%PRODUCTNAME Update Available" ; 40cdf0e10cSrcweir FixedImage FI_IMAGE 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_1 , ROW_1 ); 43cdf0e10cSrcweir Size = MAP_APPFONT ( IMAGE_WIDTH , IMAGE_HEIGHT ); 44cdf0e10cSrcweir Hide = FALSE; 45cdf0e10cSrcweir Fixed = Image 46cdf0e10cSrcweir { 47cdf0e10cSrcweir ImageBitmap = Bitmap { File = "versionwarning.png"; }; 48cdf0e10cSrcweir MaskColor = STD_MASKCOLOR; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir FixedText FT_INFO 52cdf0e10cSrcweir { 53cdf0e10cSrcweir Pos = MAP_APPFONT( COL_2, ROW_1 ); 54cdf0e10cSrcweir Size = MAP_APPFONT( INFO_WIDTH, INFO_LINES * RSC_CD_FIXEDTEXT_HEIGHT ); 55cdf0e10cSrcweir Wordbreak = TRUE; 56cdf0e10cSrcweir Text [ en-US ] = "This document was created by a newer version of %PRODUCTNAME. It may contain features not supported by your current version.\n\nClick 'Update Now...' to run online update and get the latest version of %PRODUCTNAME."; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir FixedLine FL_BUTTON 59cdf0e10cSrcweir { 60cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , ROW_2 ) ; 61cdf0e10cSrcweir Size = MAP_APPFONT ( DLG_WIDTH , RSC_CD_FIXEDLINE_HEIGHT ) ; 62cdf0e10cSrcweir }; 63cdf0e10cSrcweir PushButton PB_UPDATE 64cdf0e10cSrcweir { 65cdf0e10cSrcweir HelpID = "uui:PushButton:RID_DLG_NEWER_VERSION_WARNING:PB_UPDATE"; 66cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_3 , ROW_3 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 68cdf0e10cSrcweir TabStop = TRUE ; 69cdf0e10cSrcweir Text [ en-US ] = "~Update Now..." ; 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir CancelButton PB_LATER 72cdf0e10cSrcweir { 73cdf0e10cSrcweir Pos = MAP_APPFONT ( COL_4 , ROW_3 ) ; 74cdf0e10cSrcweir Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH , RSC_CD_PUSHBUTTON_HEIGHT ) ; 75cdf0e10cSrcweir TabStop = TRUE ; 76cdf0e10cSrcweir Text [ en-US ] = "~Later" ; 77cdf0e10cSrcweir }; 78cdf0e10cSrcweir}; 79