Search found 21 matches

by waterj
Thu Nov 17, 2005 3:56 am
Forum: C++ Development
Topic: wxDialog do not generate wxEVT_CREATE event?
Replies: 4
Views: 1245

Sorry for later reply. Here is the code(WinXP SP2, VC++ 6.0, build wxWidgets with Win32 DLL Debug): #define ID_DIALOG 10000 #define SYMBOL_MYDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX #define SYMBOL_MYDIALOG_TITLE _("Dialog") #define SYMBOL_MYDIALOG_IDNAME ID_DIALOG #define SYM...
by waterj
Thu Nov 17, 2005 3:43 am
Forum: C++ Development
Topic: wxWidgets doesn't work with MFC well
Replies: 6
Views: 1451

wxWidgets doesn't work with MFC well

I am porting a pretty large MFC project to wxWidgets. I read the sample code named "mfc" and found that wxWidgets can someway work together with MFC. This is good for me to devide the porting effort into two parts: UI and GDI. But i encountered compiling problem later because wxWidgets undefined som...
by waterj
Fri Nov 11, 2005 6:33 am
Forum: C++ Development
Topic: wxDialog do not generate wxEVT_CREATE event?
Replies: 4
Views: 1245

wxDialog do not generate wxEVT_CREATE event?

I have a Mydialog which is simply inherited from wxDialog, and i never receive wxEVT_WINDOW_CREATE event. it's weird!
by waterj
Tue Nov 08, 2005 2:49 pm
Forum: C++ Development
Topic: wxEVT_NC_RIGHT_CLICK doesn't work?
Replies: 1
Views: 756

wxEVT_NC_RIGHT_CLICK doesn't work?

Why the wxEVT_NC_PAINT event works but the wxEVT_NC_RIGHT_CLICK event not?

I noticed that wxEVT_NC_PAINT event is generated in the wxEVT_PAINT event processing routine, is there any technical problem with NC events?
by waterj
Tue Nov 08, 2005 10:05 am
Forum: C++ Development
Topic: How to make XRC resources to support east asia language?
Replies: 8
Views: 1969

I apologize to lowjoel for my mistakes,"Replaced the first line of the XRC file with""" should be "Replaced the first line of the XRC file with" <?xml version="1.0" encoding="UTF-8"?> "(I tried on my machine:xp pro cn, vc 71 cn, wxwidgets 2.6.0) ; BTW:I tried "wxXmlResource::Get()->SetFlags(0); " ...
by waterj
Tue Nov 08, 2005 7:08 am
Forum: C++ Development
Topic: How to make XRC resources to support east asia language?
Replies: 8
Views: 1969

I apologize to lowjoel for my mistakes,"Replaced the first line of the XRC file with""" should be "Replaced the first line of the XRC file with" <?xml version="1.0" encoding="UTF-8"?> "(I tried on my machine:xp pro cn, vc 71 cn, wxwidgets 2.6.0) ; BTW:I tried "wxXmlResource::Get()->SetFlags(0); " ...