diff options
Diffstat (limited to 'CPP/7zip/UI/FileManager/FM.cpp')
-rwxr-xr-x | CPP/7zip/UI/FileManager/FM.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CPP/7zip/UI/FileManager/FM.cpp b/CPP/7zip/UI/FileManager/FM.cpp index 033e266d..43a8162f 100755 --- a/CPP/7zip/UI/FileManager/FM.cpp +++ b/CPP/7zip/UI/FileManager/FM.cpp @@ -43,6 +43,8 @@ static bool g_Maximized = false; DWORD g_ComCtl32Version; #endif +bool g_IsSmallScreen = false; + bool g_LVN_ITEMACTIVATE_Support = true; // LVN_ITEMACTIVATE replaces both NM_DBLCLK & NM_RETURN // Windows 2000 @@ -418,6 +420,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE /* hPrevInstance */, g_LVN_ITEMACTIVATE_Support = (g_ComCtl32Version >= MAKELONG(71, 4)); #endif + g_IsSmallScreen = !NWindows::NControl::IsDialogSizeOK(200, 200); + // OleInitialize is required for drag and drop. #ifndef UNDER_CE OleInitialize(NULL); |