printing content of wxListCtrl

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Sickboy
Experienced Solver
Experienced Solver
Posts: 91
Joined: Wed Mar 16, 2005 10:30 pm
Location: Germany

printing content of wxListCtrl

Post by Sickboy » Wed May 11, 2005 11:50 am

Anyone knows a good way to do it ?
printing example just show how to print drawn dc elements.

thx

Scorcher24
Earned some good credits
Earned some good credits
Posts: 128
Joined: Sat Sep 25, 2004 9:11 pm
Location: Nuremberg, Germany
Contact:

Post by Scorcher24 » Wed May 11, 2005 7:04 pm

Well, there is no function for that.
But why dont you dump the values and render it to a dc, or just generate a string with "indendet" nodes. Example:

Code: Select all

// TreeList
Root
\tChild
\t\tChildOfChild
Just extract the data and for every child you prepend a \t. And then print it. Just a simple workaround. :)

rya.
Scorcher24
OS: Windows 7 Ultimate 64bit
IDE: VC++ 2008 Professional
WX: 2.9.2
My Projects

Post Reply