From 47be0fda4fb11916325c2ff3b55e24501ab43ea1 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 13 Aug 2010 03:08:19 +0300 Subject: modified: main.cpp modified: new_gpg.icproj modified: new_gpg.rc modified: new_gpg.vcproj --- main.cpp | 1 + new_gpg.icproj | 3 +-- new_gpg.rc | 2 +- new_gpg.vcproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/main.cpp b/main.cpp index eeaa102..a7595b1 100644 --- a/main.cpp +++ b/main.cpp @@ -168,6 +168,7 @@ static BOOL CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM { if(hdr->hdr.code == LVN_ITEMCHANGED) { + EnableWindow(GetDlgItem(hwndDlg, ID_OK), 1); itemnum = hdr->iItem; } } diff --git a/new_gpg.icproj b/new_gpg.icproj index a120b49..f084bca 100644 --- a/new_gpg.icproj +++ b/new_gpg.icproj @@ -20,9 +20,8 @@ Optimization="1000" GlobalOptimizations="true" OptimizeForWindowsApplication="true" - EnableEnhancedInstructionSet="1000" FloatingPointModel="1000" - UseProcessorExtensions="4"/> + UseProcessorExtensions="1"/> diff --git a/new_gpg.rc b/new_gpg.rc index 35a973c..5a109f3 100644 --- a/new_gpg.rc +++ b/new_gpg.rc @@ -67,7 +67,7 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPT CAPTION "new GPG Plugin First Run" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN - DEFPUSHBUTTON "خت",ID_OK,15,175,50,14 + DEFPUSHBUTTON "خت",ID_OK,15,175,50,14,WS_DISABLED CONTROL "",IDC_KEY_LIST,"SysListView32",LVS_REPORT | LVS_NOSORTHEADER | WS_BORDER | WS_TABSTOP,15,23,255,50 PUSHBUTTON "Generate key",IDC_GENERATE_KEY,15,76,54,14 LTEXT "Select key for use",IDC_STATIC,16,12,186,8 diff --git a/new_gpg.vcproj b/new_gpg.vcproj index 3a1459a..a01a148 100644 --- a/new_gpg.vcproj +++ b/new_gpg.vcproj @@ -255,7 +255,7 @@ StringPooling="true" RuntimeLibrary="0" EnableFunctionLevelLinking="true" - EnableEnhancedInstructionSet="1" + EnableEnhancedInstructionSet="2" FloatingPointModel="0" PrecompiledHeaderFile=".\Release Unicode (static)/testplug.pch" AssemblerListingLocation=".\Release Unicode (static)/" -- cgit v1.2.3