Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 Printing .Net Controls

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
jack1974 Posted - 02 Nov 2005 : 09:10:55
I am able to print the charts, but I am having a problem making it also print out the other features that I have displayed such as:
text boxes, combo boxes, button, etc. Is there a way to print these objects?
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 02 Nov 2005 : 10:13:04
See Chapter 14 or the Real-Time Graphics Tools manual where we discuss the RTControlButton and RTTrackBar controls.

All .Net controls have a common shortcoming; by design, they will not render (draw) to a printer device context. Why you ask ? We do not know; you will have to ask Microsoft. Our guess is that .Net controls use underlying WIN32 API common controls for display purposes, and that these controls cannot be easily rendered to a .Net printer device context.

Simple .Net controls (Button, TrackBar, ComboBox etc.) added to one of our ChartView windows will not print because of this.

We have subclassed the Button and TrackBar controls in our software as RTControlButton and RTControlTrackBar, and added the necessary code to render these objects to a printer. This involves actually drawing the control using basic line, pixel, rectangle and text drawing techniques.

But when it comes to combo boxes and text boxes there is nothing our software will do for you.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07