Search found 7 matches

by chenhongfei_dy520
Mon May 11, 2009 9:51 am
Forum: C++ Development
Topic: WxReportWriter problem
Replies: 0
Views: 280

WxReportWriter problem

the code: #include "repwrt.h" void Frmmain::OnTestClick(wxCommandEvent& event) { wxFont fntBig( 14, wxDECORATIVE, wxITALIC, wxBOLD, true ); wxFont fntSmall( 6, wxSWISS, wxNORMAL, wxNORMAL ); wxReportObj *pObj; wxReportWriter *pReport; pReport = new wxReportWriter(this,_("title"),wxPoint(0,0),wxSize(...
by chenhongfei_dy520
Mon May 11, 2009 9:40 am
Forum: C++ Development
Topic: How to print a form
Replies: 6
Views: 631

The problem is solved, I used another method, but still very grateful to you
by chenhongfei_dy520
Fri May 08, 2009 2:37 am
Forum: C++ Development
Topic: How to print a form
Replies: 6
Views: 631

I'm sorry for my poor EngLish and expression.
Test_sheet is a control,I do not know how to display it in the frame and print it.
There is a function draw defined in the class MyFrame,In fact,No such function in the class wxFrame,And I do not know who to call it.
by chenhongfei_dy520
Thu May 07, 2009 3:01 am
Forum: C++ Development
Topic: How to print a form
Replies: 6
Views: 631

As I am copying from one dc to another dc and then painting,so if I move the source of dc, then re-painting will be implemented, the screen will be covered,Painting has always been less than I would like to print the forms, I have been trying to set up dc to form I want to, but not
by chenhongfei_dy520
Wed May 06, 2009 9:00 am
Forum: C++ Development
Topic: How to print a form
Replies: 6
Views: 631

How to print a form

This is a modified example of bringing the wx,but a lot of errors,who can help me? following is the code: wx_pch.h: #ifndef WX_PCH_H_INCLUDED #define WX_PCH_H_INCLUDED #if ( defined(USE_PCH) && !defined(WX_PRECOMP) ) #define WX_PRECOMP #endif // USE_PCH // basic wxWidgets headers #include <wx/wxprec...
by chenhongfei_dy520
Wed May 06, 2009 6:46 am
Forum: wxWidgets Development (Chinese)
Topic: =自我介绍=(新人可来这里对自己作自我介绍)
Replies: 146
Views: 179762

新人报道

因为公司项目需要第一次接触wxWidgets,初学中,请大家多多指教..
by chenhongfei_dy520
Wed May 06, 2009 4:46 am
Forum: wxWidgets Development (Chinese)
Topic: 请教一个打印问题
Replies: 0
Views: 1109

请教一个打印问题

打印一个表格的时候不知道该如何描述dc,代码如下: test_sheet.h文件: #ifndef _test_sheet_h #define _test_sheet_h #include "wx_pch.h" #include <wx/sheet/sheet.h> class wxSheet; class test_sheet : public wxDialog { public: wxSheet *grid; wxTextCtrl *logWin; wxLogTextCtrl *logger; public: test_sheet(wxWindow * parent, wxWindowID...