changed screen resolition to 60% os screen
This commit is contained in:
+3
-3
@@ -35,7 +35,7 @@ int swprintf_s(wchar_t *buffer, size_t sizeOfBuffer, const wchar_t *format, ...)
|
|||||||
|
|
||||||
#define IDM_HELP_ABOUT 4001
|
#define IDM_HELP_ABOUT 4001
|
||||||
|
|
||||||
static const WCHAR APP_VERSION[] = L"1.2.0";
|
static const WCHAR APP_VERSION[] = L"1.3.0";
|
||||||
|
|
||||||
static HWND g_hEdit = NULL;
|
static HWND g_hEdit = NULL;
|
||||||
static HFONT g_hFont = NULL;
|
static HFONT g_hFont = NULL;
|
||||||
@@ -1026,10 +1026,10 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int winWidth = 1600;
|
|
||||||
int winHeight = 1200;
|
|
||||||
int screenW = GetSystemMetrics(SM_CXSCREEN);
|
int screenW = GetSystemMetrics(SM_CXSCREEN);
|
||||||
int screenH = GetSystemMetrics(SM_CYSCREEN);
|
int screenH = GetSystemMetrics(SM_CYSCREEN);
|
||||||
|
int winWidth = (int)(screenW * 0.6);
|
||||||
|
int winHeight = (int)(screenH * 0.6);
|
||||||
int posX = (screenW - winWidth) / 2;
|
int posX = (screenW - winWidth) / 2;
|
||||||
int posY = (screenH - winHeight) / 2;
|
int posY = (screenH - winHeight) / 2;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
[Setup]
|
[Setup]
|
||||||
AppId={{B7CBF4E7-9E8F-4A5B-9B73-7B7E5D5D5E6A}}
|
AppId={{B7CBF4E7-9E8F-4A5B-9B73-7B7E5D5D5E6A}}
|
||||||
AppName=ClassicNotepad
|
AppName=ClassicNotepad
|
||||||
AppVersion=1.1.0
|
AppVersion=1.3.0
|
||||||
AppPublisher=ClassicNotepad
|
AppPublisher=ClassicNotepad
|
||||||
DefaultDirName={autopf}\ClassicNotepad
|
DefaultDirName={autopf}\ClassicNotepad
|
||||||
DefaultGroupName=ClassicNotepad
|
DefaultGroupName=ClassicNotepad
|
||||||
|
|||||||
Reference in New Issue
Block a user