#include <commctrl.h>
#include <richedit.h>
+#include <winnls.h>
#define REMOVE_ADVANCED
HINSTANCE hGetUName = NULL;
hInstance = hInst;
+
+ /* Mirroring code for the titlebar */
+ switch (GetUserDefaultUILanguage())
+ {
+ case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):
+ SetProcessDefaultLayout(LAYOUT_RTL);
+ break;
+
+ default:
+ break;
+ }
iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
iccx.dwICC = ICC_TAB_CLASSES;