473,472 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Strange behavior for RightToLeft property of RichEdit controls

I have an MDI form with several RichEdit controls. I have an
application setting to set the controls to RightToLeft when the form
opens. When the form opens in RightToLeft mode, the text is shifted to
the left so it is not all the way to the right. I can click on the
empty area and the text shifts to the right where it is suppose to be.
The control gaining focus or clicking anywhere else on the control does
not fix the problem. Doing a resize on the form using the mouse fixes
it. Programmatically resizing does not. The form itself is not set to
RTL because we have English text that needs to be LTR. This did not
happen with the previous version of the application which was built
under the 1.1 framework. Is this a 2.0 framework bug? Nothing has
changed from the previous version of the app that might cause this. Any
ideas about what might cause this and how to fix it? Thanks in
advance.

--Bruce

Jun 1 '06 #1
0 976

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Gidi | last post by:
hello i have a strange mainMenu Problem: i defiend my main menu RightToLeft property to yes, and i have to menuItem one called "a" and the second called "b" when the mainForm Loads i see at the...
1
by: Mohammad-Reza | last post by:
Hi Please tell me how can I find out that the parent of my control is right to left or not. Like MenuItem. MenuItem by itself doesn't any RightToLeft property but when you change the right to...
6
by: Mohammad-Reza | last post by:
I wrote a component using class library wizard. In my component i want to in order to RightToLeft property do some works. I can find out if user set this property to Yes or No, But if He/She set it...
1
by: Patty O'Dors | last post by:
Hi I'm trying to create an application with a RichEdit control, I found that CreateWindow always returns a null hWnd unless I call LoadLibrary("riched20.dll") first (the error code from...
6
by: Joseph Geretz | last post by:
Writing an Outlook AddIn with C#. For the user interface within Outlook I'm adding matching pairs of Toolbar buttons and Menu items. All of the buttons and menu items are wired up to send events to...
0
by: Bruce | last post by:
I have an MDI form with several RichEdit controls. I have an application setting to set the controls to RightToLeft when the form opens. When the form opens in RightToLeft mode, the text is shifted...
10
by: SLIMSHIM | last post by:
Can someone explain this one to me ...? Add one Label and one Button to form . Set RightToLeft of Label to True. try this Label1.Text="12345."; on display you will see ..12345 the decimal...
4
by: Neil | last post by:
Just found out that the Microsoft Rich Textbox does not support full text justification, since it's based on Version 1.0 of the RichEdit Window Class, and full text justification is only available...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.