M
MPBroida
Hi!
I couldn't find a better Newsgroup on this server, so I'll ask here
and hope for the best. <grin>
I'm using MSDevStudio and VisualC++ 6.0 on Win2K.
I have a small GUI program (Dialog) that uses (among other things)
an EditBox. I put text (drive+dirpath+filespec) in that box with
SetDlgItemText(), but the text is longer than the EditBox's visible
area. No problem: I made it selectable so the user could click in
the box and scroll left/right with the arrow keys to see the entire
string.
But that's kind of clunky. The entire string is important, but the
actual FILEname is the most important part. Thus, I would like the
box to initially display the LEFT-HAND end of that string so that
the filename is immediately visible.
I'm sure there's a way to do it; I dimly recall it being discussed
in an MSAccess group for Access controls.
So, (without MSAccess involvement) how do I make that text string
be displayed so the LEFT end is visible?? Probably put the cursor
in the box and at that end of the string, but I don't know how to
do that.
Hints/help, please?
Thanks!
Mike
I couldn't find a better Newsgroup on this server, so I'll ask here
and hope for the best. <grin>
I'm using MSDevStudio and VisualC++ 6.0 on Win2K.
I have a small GUI program (Dialog) that uses (among other things)
an EditBox. I put text (drive+dirpath+filespec) in that box with
SetDlgItemText(), but the text is longer than the EditBox's visible
area. No problem: I made it selectable so the user could click in
the box and scroll left/right with the arrow keys to see the entire
string.
But that's kind of clunky. The entire string is important, but the
actual FILEname is the most important part. Thus, I would like the
box to initially display the LEFT-HAND end of that string so that
the filename is immediately visible.
I'm sure there's a way to do it; I dimly recall it being discussed
in an MSAccess group for Access controls.
So, (without MSAccess involvement) how do I make that text string
be displayed so the LEFT end is visible?? Probably put the cursor
in the box and at that end of the string, but I don't know how to
do that.
Hints/help, please?
Thanks!
Mike