Hello to all developers out there,
I've got a little problem with the I-Beam (also called
caret or insertion point by some) in a text field behaving
differently depending in which mode I open up the window...
Whenever the window is opened in application modal mode
(well, I discovered that the problem is present whenever
the window is opened in any modal mode), the caret in my
text field is a little bit to the right... Just as if
there was "half a character" hiding in the text field!
Whenever I open the same window in "normal mode", the
insertion cursor shows right where it should be, at the
start of my text field. The alignment of the
text field is "Beginning" (left aligned). I am running
Windows 2000 Build 2195 SP3.
I tried resetting the I-beam position, forcing
redraws, changing alignment and fonts and all kinds of
stuff but it seems like this thing doesn't want to go
where I want it!. There is always a few pixels (half a
letter I'd say) between the I-beam and the border of the
text field...
I also noticed that whenever I use Letter Gothic fonts, I
do not have this problem... Tried almost every font
available on my machine and I have the problem. When I am
using Letter Gothic fonts, the insertion point is left
aligned and there is not "gap" between the border of the
text field and the I-beam in the field.
Any idea? Suggestion? Even better, a fix?!
Please, also reply to:
Benoit_St_Jean [at] progressive [dot] com
TIA!