Re: Displaying Multiple Text Lines At Runtime
From: Jase (jshelley_at_spamblock.enersol.com.au)
Date: 02/19/04
- Next message: Tim: "Re: How to build device driver in VC++?"
- Previous message: Tim: "Re: why cant I get data from the ACCESS"
- In reply to: Jagadeesh VN: "Re: Displaying Multiple Text Lines At Runtime"
- Next in thread: Jagadeesh VN: "Re: Displaying Multiple Text Lines At Runtime"
- Reply: Jagadeesh VN: "Re: Displaying Multiple Text Lines At Runtime"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Feb 2004 17:01:56 +1100
"Jagadeesh VN" <jagadeeshvn@hotmail.com> wrote in message
news:u3zSjlq9DHA.548@TK2MSFTNGP11.phx.gbl...
[snip]
> 1. In your Status bars, create a new panel for displaying your messages.
[snip]
Dude... It sometimes help to read the original post ;-) This is a dialog app
we're talking about, which has no status bar by default.
>
> "matt" <bonmatt10@cs.com> wrote in message
> news:c2838b8f.0402181814.4501633e@posting.google.com...
> > I need to display various text messages in my dialog app, and they
> > change during the application. There will be multiple lines of text
> > in one rectangular area.
> >
> > In order to handle that and format it well, should I not use the edit
> > box with an attached CStatic variable? Should I just use text out
> > with coordinates and maybe draw a rectangular area instead of using a
> > control?
> >
> > Thanks,
> >
> > Matt
>
The easiest way is to use a static control attached to a CString variable.
Make sure the "No Wrap" style is NOT SET, and possibly use the "Sunken"
style for visual effect. Assign the message to the variable, and call
UpdateData(FALSE).
It's only being pedantic, but if you use an edit control, even if you set it
to read-only, the "I" cursor will still be shown when the mouse moves over
it.
- Next message: Tim: "Re: How to build device driver in VC++?"
- Previous message: Tim: "Re: why cant I get data from the ACCESS"
- In reply to: Jagadeesh VN: "Re: Displaying Multiple Text Lines At Runtime"
- Next in thread: Jagadeesh VN: "Re: Displaying Multiple Text Lines At Runtime"
- Reply: Jagadeesh VN: "Re: Displaying Multiple Text Lines At Runtime"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|