Right-aligning with WS_EX_RTLREADING
-
Hey all. I use CreateWindowEx to create a Rich Edit Control. I use WS_EX_RIGHT | WS_EX_RTLREADING to make it right-aligned on a Hebrew OS. It works well on Windows 2000, but on a clean installation of Win98 Heb-enabled, the content of the Rich Edit Control is left-aligned. On a not-so-clean installation of Win98 (which has Visual Studio, Office, etc.) - it displays correctly. The problem is not with comctl32.dll - copying that file from the "good" win98 to the "bad" win98 doesn't solve it. Any ideas??
-
Hey all. I use CreateWindowEx to create a Rich Edit Control. I use WS_EX_RIGHT | WS_EX_RTLREADING to make it right-aligned on a Hebrew OS. It works well on Windows 2000, but on a clean installation of Win98 Heb-enabled, the content of the Rich Edit Control is left-aligned. On a not-so-clean installation of Win98 (which has Visual Studio, Office, etc.) - it displays correctly. The problem is not with comctl32.dll - copying that file from the "good" win98 to the "bad" win98 doesn't solve it. Any ideas??
The rich edit control is not on comctl32.dll - it's riched20.dll :) --Mike-- Buy me stuff! Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines! My really out-of-date homepage Big fan of Alyson Hannigan and Jamie Salé.
-
The rich edit control is not on comctl32.dll - it's riched20.dll :) --Mike-- Buy me stuff! Like the Google toolbar? Then check out UltraBar, with more features & customizable search engines! My really out-of-date homepage Big fan of Alyson Hannigan and Jamie Salé.
I can't thank you enough! That's the cause... Everything works great with Rich Edit Control 3, but not-so-great with version 2. Do you have any idea WHY version 2 doesn't right-align correctly? Thanks!