Putting cursor at end of EditBox

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
 
M

MPBroida

Mike said:
Microsoft has a public server which has groups for
Windows issues, which is what your query is about:

msnews.microsoft.com

Find group microsoft.public.win32.programmer.ui

Thanks for the info, but I can't get to that newsserver
from here; firewalls/proxies/etc here don't allow it.
I'll try to convince our local newsserver admin to echo/
mirror (whatever the term is) that group here, but I doubt
they will do it.

Thanks for the info. :)

Mike
 
N

Noah Roberts

Mike said:
Microsoft has a public server which has groups for
Windows issues, which is what your query is about:

msnews.microsoft.com

Find group microsoft.public.win32.programmer.ui

In my experience these groups are a joke. They are basically dead,
nothing happens there.

Try comp.os.ms-windows.programmer.* where I still got no answers, but at
least there is a decent amount of traffic.

NR
 
M

MPBroida

Noah said:
In my experience these groups are a joke. They are basically dead,
nothing happens there.

Try comp.os.ms-windows.programmer.* where I still got no answers, but at
least there is a decent amount of traffic.

Thanks. I found comp.os.ms-windows.programmer.win32
and will post there in a couple minutes. :)

Mike
 
J

John Carson

Noah Roberts said:
In my experience these groups are a joke. They are basically dead,
nothing happens there.

Try comp.os.ms-windows.programmer.* where I still got no answers, but
at least there is a decent amount of traffic.

NR

My experience is very different. There are hundreds of newsgroups on the MS
server, some of them very specialised. Microsoft evidently has the same
philosophy to creating newsgroups as it has to adding features to its
products. Naturally, some of these don't have much traffic but the less
specialised newsgroups have plenty, e.g.,

microsoft.public.vc.language
microsoft.public.vc.mfc

The suggested newsgroup

microsoft.public.win32.programmer.ui

is more specialised but still has a respectable amount of traffic and is a
good source for help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top