Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

[Windows Forms] How to print a textBox content ?

$
0
0

Hi guys.

I've been looking for a solution on the web and I have nothing. I have a simple C++ Windows Forms application (using VS 2010). One part on it is a multiline textBox - "textBox1". My last task to do in this app is to create a button, which, when clicked, opens a PrintDialog and allows user to print the content of "textBox1". And that's what I need.

I've found a solution for C# (ex. -> [Polish] http://patryknet.blogspot.com/2009/11/drukowanie.html), but not for C++.

I'd be very grateful for your help.




Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>