Re: Displaying Multiple Text Lines At Runtime

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jagadeesh VN (jagadeeshvn_at_hotmail.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 11:03:20 +0530

There are several ways by which you can acheive this.
1. In your Status bars, create a new panel for displaying your messages.
2. Create a control bar, which can be docked/closed, and write your messages
in that. So that it will look like Visual Studio output pane.
3. Put a static control inside your view, and write to it.
4. Read-Only edit box is also a god option.

Its always better not to use TextOut in your view, to avoid flickering.

Cheers
Jagadeesh

"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



Relevant Pages

  • Re: Displaying Multiple Text Lines At Runtime
    ... In your Status bars, create a new panel for displaying your messages. ... The easiest way is to use a static control attached to a CString variable. ...
    (microsoft.public.vc.mfc)
  • Re: Head shake
    ... Ohlins shocks and forks have two compression damping circuits. ... an adjustable needle and orifice to control damping at rather low ... They still get tank slappers and go over the bars. ... machine down the race track. ...
    (rec.motorcycles.tech)
  • Re: Switching from dialog based app to SDI
    ... all communication comes from the document. ... write/read register values of that device ... I'm supposed to write similar programs now to control other devices. ... displaying the received values as bin,hex,dec strings or converting the ...
    (microsoft.public.vc.mfc)
  • Re: HelpProvider
    ... > provide info regatding that control i.e what the control is meant for. ... > HelpString on helpProvider1= Drugs Entry Form ... > Again when am selecting form and pressing f1 then it is displaying the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: RichText Formatting Urls
    ... This worked which means RTF does support named links. ... as an RTF file to have a look at the rich text tags. ... However there is a RTF property against the control which gets the current ... So I'm now thinking about displaying my text with HTML in .NET 2s web ...
    (microsoft.public.dotnet.framework.windowsforms.controls)