 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
MPBroida Guest
|
Posted: Wed Oct 22, 2003 9:44 pm Post subject: Putting cursor at end of EditBox |
|
|
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
|
|
| Back to top |
|
 |
Mike Wahler Guest
|
Posted: Wed Oct 22, 2003 10:32 pm Post subject: Re: [OT, redir, welcome msg] Putting cursor at end of EditBo |
|
|
"MPBroida" <michael.p.broida (AT) boeing_oops (DOT) com> wrote
| Quote: | Hi!
I couldn't find a better Newsgroup on this server,
|
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
| Quote: | so I'll ask here
and hope for the best.
|
Purpose of comp.lang.c++:
http://www.slack.net/~shiva/welcome.txt
-Mike
|
|
| Back to top |
|
 |
MPBroida Guest
|
Posted: Thu Oct 23, 2003 5:34 pm Post subject: Re: [OT, redir, welcome msg] Putting cursor at end of EditBo |
|
|
Mike Wahler wrote:
| Quote: |
"MPBroida" wrote:
Hi!
I couldn't find a better Newsgroup on this server,
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
|
|
| Back to top |
|
 |
Noah Roberts Guest
|
Posted: Thu Oct 23, 2003 6:23 pm Post subject: Re: [OT, redir, welcome msg] Putting cursor at end of EditBo |
|
|
Mike Wahler wrote:
| Quote: | "MPBroida" <michael.p.broida (AT) boeing_oops (DOT) com> wrote in message
news:3F96FA2C.AB27370A (AT) boeing_oops (DOT) com...
Hi!
I couldn't find a better Newsgroup on this server,
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
|
|
| Back to top |
|
 |
MPBroida Guest
|
Posted: Thu Oct 23, 2003 6:59 pm Post subject: Re: [OT, redir, welcome msg] Putting cursor at end of EditBo |
|
|
Noah Roberts wrote:
| Quote: |
Mike Wahler wrote:
"MPBroida" wrote in message
news:3F96FA2C.AB27370A (AT) boeing_oops (DOT) com...
Hi!
I couldn't find a better Newsgroup on this server,
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.
|
Thanks. I found comp.os.ms-windows.programmer.win32
and will post there in a couple minutes. :)
Mike
|
|
| Back to top |
|
 |
John Carson Guest
|
Posted: Sat Oct 25, 2003 1:00 am Post subject: Re: [OT, redir, welcome msg] Putting cursor at end of EditBo |
|
|
"Noah Roberts" <nroberts (AT) dontemailme (DOT) com> wrote
| Quote: | Mike Wahler wrote:
"MPBroida" <michael.p.broida (AT) boeing_oops (DOT) com> wrote in message
news:3F96FA2C.AB27370A (AT) boeing_oops (DOT) com...
Hi!
I couldn't find a better Newsgroup on this server,
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
|
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.
--
John Carson
1. To reply to email address, remove donald
2. Don't reply to email address (post here instead)
|
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Oct 30, 2003 2:48 am Post subject: Re: Putting cursor at end of EditBox |
|
|
MPBroida wrote:
| Quote: | I have a small GUI program (Dialog) that uses (among other things)
an EditBox...I would like the
box to initially display the LEFT-HAND end of that string
|
Use CEdit::SetSel. Check MSDN for details.
[email]sherNOwoodSPAM (AT) computer (DOT) org[/email] (remove caps for e-mail)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|