TextBox control with WindowsStyles ES_READONLY is locked by default

Started by Jean-pierre Leroy, April 28, 2010, 10:06:15 AM

Previous topic - Next topic

Jean-pierre Leroy

Paul,

I don't know if it is intentional or not, but it is not possible to resize a TextBox control with ES_READONLY set with the mouse within the IDE; I have to use the keyboard; it seems that as soon as I set the flag ES_READONLY, the TextBox control is locked.

- Is-it intentional?
- Do we have the same behavior/issue on other controls ?

Jean-Pierre

Brian Chirgwin

I reported this and I believe Paul has already fixed it and will release it in the next update.

Checking Read-Only turns on the Locked property to true in FF.

For now just set Locked to false and you can use the mouse (will not uncheck Read-Only).


Brian

Jean-pierre Leroy

Hi Brian ... you're right I didn't seen at first that you had already reported this bug... my mistake ...

Jean-Pierre

Paul Squires

Today, I was finally able to track down why setting the ES_READONLY style would casue LOCKED = TRUE. It was kind of a holdover from one of my FireFly 2 style template files that I never thought about looking in.

It is all fixed now. The fix will be in the next update.

Paul Squires
PlanetSquires Software