Fixed dialog layout with RTL languages

This commit is contained in:
Birunthan Mohanathas 2012-12-22 11:18:53 +02:00
parent 6a44aae5fc
commit 4e16218dec
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ void CDialogAbout::Open(int tab)
GetString(ID_STR_ABOUTRAINMETER), GetString(ID_STR_ABOUTRAINMETER),
0, 0, 400, 210, 0, 0, 400, 210,
DS_CENTER | WS_POPUP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME, DS_CENTER | WS_POPUP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME,
WS_EX_APPWINDOW | WS_EX_CONTROLPARENT, WS_EX_APPWINDOW | WS_EX_CONTROLPARENT | ((*GetString(ID_STR_ISRTL) == L'1') ? WS_EX_LAYOUTRTL : 0),
Rainmeter->GetWindow()); Rainmeter->GetWindow());
// Fake WM_NOTIFY to change tab // Fake WM_NOTIFY to change tab

View File

@ -89,7 +89,7 @@ void CDialogManage::Open(int tab)
GetString(ID_STR_MANAGERAINMETER), GetString(ID_STR_MANAGERAINMETER),
0, 0, 500, 322, 0, 0, 500, 322,
DS_CENTER | WS_POPUP | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME, DS_CENTER | WS_POPUP | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME,
WS_EX_APPWINDOW | WS_EX_CONTROLPARENT, WS_EX_APPWINDOW | WS_EX_CONTROLPARENT | ((*GetString(ID_STR_ISRTL) == L'1') ? WS_EX_LAYOUTRTL : 0),
Rainmeter->GetWindow()); Rainmeter->GetWindow());
// Fake WM_NOTIFY to change tab // Fake WM_NOTIFY to change tab