Search found 38 matches

by james.chengguangwang
Sat Aug 12, 2006 5:41 am
Forum: C++ Development
Topic: wxHtml bug?
Replies: 3
Views: 655

I came cross this problems, and I also don't understand why it is. Maybe the best solution is that to stand to that rule, I am so disappointed about that!
by james.chengguangwang
Sat Aug 12, 2006 5:37 am
Forum: C++ Development
Topic: How to set parent for my wxDialog to a non-wxWindow
Replies: 4
Views: 1201

Topic review

HI, I don't know whether the parent window of the application you use is a ms standard CWnd class, if so, I think you can solve the problems as follows: // extern "C" so we don't need a DEF file // This is the function to be called from the host app extern "C" DLLFUNCTIONS_API void DLLFunction(HWND ...
by james.chengguangwang
Thu Aug 10, 2006 8:56 am
Forum: wxDev-C++
Topic: How to use the OnCellClicked method of wxHtmlWindow
Replies: 10
Views: 1334

Hi upCASE,

As long as I can solve the click event of the radiobutton and the checkbox, everything is ok.
by james.chengguangwang
Thu Aug 10, 2006 8:14 am
Forum: wxDev-C++
Topic: How to use the OnCellClicked method of wxHtmlWindow
Replies: 10
Views: 1334

Yes, you are right, I want to solve the event when users press the radiobutton or checkbox, do you know how to realize it ? thank you!
by james.chengguangwang
Thu Aug 10, 2006 7:50 am
Forum: wxDev-C++
Topic: How to use the OnCellClicked method of wxHtmlWindow
Replies: 10
Views: 1334

I have a MyHtmlWindow which is derived from wxWindow : // Class automatically generated by Dev-C++ New Class wizard #ifndef MYHTMLWINDOW_H #define MYHTMLWINDOW_H #include <htmlwin.h> // inheriting class's header file #include "wx/print.h" #include "wx/html/htmlwin.h" #include "wx/html/htmlcell.h" #i...
by james.chengguangwang
Thu Aug 10, 2006 7:25 am
Forum: wxDev-C++
Topic: How to use the OnCellClicked method of wxHtmlWindow
Replies: 10
Views: 1334

I have sent the entire code to your mailbox, could you check it ?
by james.chengguangwang
Thu Aug 10, 2006 6:57 am
Forum: wxDev-C++
Topic: How to use the OnCellClicked method of wxHtmlWindow
Replies: 10
Views: 1334

Topic review

And this is my tag handler module: #include <wx/html/m_templ.h> TAG_HANDLER_BEGIN(MYBIND, "MYBIND") TAG_HANDLER_PROC(tag) { wxWindow *wnd; int ax, ay; tag.ScanParam(wxT( "X"), wxT( "%i"), &ax); tag.ScanParam(wxT( "Y"), wxT( "%i"), &ay); if (tag.HasParam(wxT("RadioButton"))) wnd = new wxRadioButton(m...
by james.chengguangwang
Thu Aug 10, 2006 6:42 am
Forum: Compiler / Linking / IDE Related
Topic: XRC and MSVC
Replies: 33
Views: 5653

Two method

1) .po file -(poEdit or PoTransaltor)-.mo file ----- wxLocale Class
2) XRC Files - wxXMLResource ---- LoadDialog-LoadFrame.......
by james.chengguangwang
Thu Aug 10, 2006 5:00 am
Forum: wxDev-C++
Topic: How to use the OnCellClicked method of wxHtmlWindow
Replies: 10
Views: 1334

How to use the OnCellClicked method of wxHtmlWindow

Hi All, I want to use the wxHtmlWindow to show some html document which shows the suggestion about the current App, also, I have written some tag handle to solve the display of button and hyperlink, but I don't know how to solve the click event about the radiobutton and checkbox, I know that I must ...
by james.chengguangwang
Wed Aug 09, 2006 9:14 am
Forum: Platform Related Issues
Topic: How to get the CPU usage?
Replies: 5
Views: 1468

I use the wxWidgets , how can I get the cpu usage?
by james.chengguangwang
Wed Aug 09, 2006 8:59 am
Forum: Platform Related Issues
Topic: How to get the CPU usage?
Replies: 5
Views: 1468

How to get the CPU usage?

just like the subject, thanks.
by james.chengguangwang
Tue Aug 08, 2006 10:48 am
Forum: wx.NET
Topic: Help: A wxDialog Dll Error
Replies: 16
Views: 10602

Hi upCASE,

Both the EXE and the Dll program are Multithreaded /MT, by the way, do you have a msn account? if you can tell me, I will really appreciate you!

thanks
James
by james.chengguangwang
Tue Aug 08, 2006 10:39 am
Forum: wx.NET
Topic: Help: A wxDialog Dll Error
Replies: 16
Views: 10602

Topic review

Hi upCASE,

it is a static build, and the msvcrt version is
7.0.2600.2180 (xpsp_sp2_rtm.040803-2158)

thanks
james
by james.chengguangwang
Tue Aug 08, 2006 9:52 am
Forum: wx.NET
Topic: Help: A wxDialog Dll Error
Replies: 16
Views: 10602

Topic review

Hi upCASE, And this is the EXE.H file: #pragma once #include "resource.h" And this is the Resource.H file: //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by EXE.rc // #define IDS_APP_TITLE 103 #define IDR_MAINFRAME 128 #define IDD_EXE_DIALOG 102 #define IDD_ABOUTBOX 10...
by james.chengguangwang
Tue Aug 08, 2006 9:43 am
Forum: wx.NET
Topic: How to use a class which is built in the Dll (Create Object)
Replies: 4
Views: 4533

Ok, I won't do it in the future,thanks for your reminding!