Search found 38 matches

by james.chengguangwang
Wed Sep 06, 2006 8:21 am
Forum: wxCode
Topic: How to send a wxID_OK click event to a wxDialog
Replies: 2
Views: 1557

Thanks, get it!
by james.chengguangwang
Wed Sep 06, 2006 5:42 am
Forum: wxCode
Topic: How to send a wxID_OK click event to a wxDialog
Replies: 2
Views: 1557

How to send a wxID_OK click event to a wxDialog

Hi All,

If a button ID is wxID_OK, and when the user clicks it, the dialog will be hided and destroyed, my questions is that how can I send a wxID_OK click event to close the dialog? thanks very much!

thanks
James
by james.chengguangwang
Tue Sep 05, 2006 11:09 am
Forum: wxCode
Topic: How to use the AddPendingEvent method to pend a wxCloseEvent
Replies: 0
Views: 415

How to use the AddPendingEvent method to pend a wxCloseEvent

Hi All,

I want to know how to use the the AddPendingEvent method to pend a wxCloseEvent, it behaves like the clicking on the close button on the title bar, could you tell me how to do it? thanks very much!

regards
James
by james.chengguangwang
Tue Sep 05, 2006 6:51 am
Forum: wxCode
Topic: How to have shortcut to command which is on some button
Replies: 4
Views: 2148

Hi upCASE, I have found a method to implement it as follows: m_XXX = new wxButton(this, ID_OK_BUTTON, wxT("&OK")); And when I press the O key, the OnOK function will be invoked, but I still have a question that I want to let the 'O' character be underlined, sorry for my poor english ability, how can...
by james.chengguangwang
Tue Sep 05, 2006 3:33 am
Forum: wxCode
Topic: How to have shortcut to command which is on some button
Replies: 4
Views: 2148

How to have shortcut to command which is on some button

Hi All,

I would like to have shortcut to command which is on some button. Is it possible? and how to implement it? thanks!

regards
James
by james.chengguangwang
Thu Aug 31, 2006 10:02 am
Forum: wxCode
Topic: How to get a dialog object from a existing Dll
Replies: 2
Views: 1013

Do you have some sample code? the host is a MFC application, and the Dll header File: // wxDLL is a simple DLL which demonstrates how to use // wxWindows in a DLL which is called from another // application (not using wxWindows) // // // Tony Edgecombe // (C) 2004 Frogmore Computer Services // www.f...
by james.chengguangwang
Thu Aug 31, 2006 9:01 am
Forum: wxCode
Topic: How to get a dialog object from a existing Dll
Replies: 2
Views: 1013

How to get a dialog object from a existing Dll

Hi All,

Is there some methods to load a dialog object from a dll, at present I can show the dialog, but I can't get the dialog object from the dll, or can we create a object in the host program which is defined in a dll? thanks very much!

regards
James
by james.chengguangwang
Thu Aug 31, 2006 8:57 am
Forum: wxCode
Topic: How to get the current process handle
Replies: 4
Views: 1411

Get it, I also think so, thank you very much!
by james.chengguangwang
Thu Aug 31, 2006 8:37 am
Forum: wxCode
Topic: How to get the current process handle
Replies: 4
Views: 1411

Hi upCASE,

I know the two strategies, but I don't want to use them, are there other methods which can be used to get the main window handle?

thanks
James
by james.chengguangwang
Thu Aug 31, 2006 3:07 am
Forum: wxCode
Topic: How to get the current process handle
Replies: 4
Views: 1411

How to get the current process handle

Hi All, I have a DllCaller and a Dialog Dll, when the DllCaller module loads the dialog from the dll, I want to let the dialog itself to get the current process handle and set it as its process handle to implement a Modal dialog(but I don't want to pass in the DllCaller process handle), how can I do...
by james.chengguangwang
Wed Aug 30, 2006 10:12 am
Forum: C++ Development
Topic: Sending an E-mail
Replies: 12
Views: 2294

wxHyperlinkCtrl can do it well
by james.chengguangwang
Wed Aug 30, 2006 6:17 am
Forum: wxCode
Topic: How to implement a hyperlink in a wxDialog
Replies: 1
Views: 734

I have resolved it with the wxHyperlinkCtrl class!
by james.chengguangwang
Tue Aug 29, 2006 9:23 am
Forum: C++ Development
Topic: How to set parent for my wxDialog to a non-wxWindow
Replies: 4
Views: 1216

Hi All,

But when I use the NULL to create the wxDialog, the program will be crashed when creating the dialog obiect, can you resolve it? or do you have some good method to deal with it? thanks.

regards,
James
by james.chengguangwang
Tue Aug 29, 2006 2:22 am
Forum: wxCode
Topic: How to implement a hyperlink in a wxDialog
Replies: 1
Views: 734

How to implement a hyperlink in a wxDialog

Hi All,

I want to know how to implement a hyperlink in a wxDialog, do you know something about it? thanks in advance.

regards
James
by james.chengguangwang
Tue Aug 22, 2006 2:28 am
Forum: wx.NET
Topic: How build wxWidgets on X64 platforms
Replies: 0
Views: 2783

How build wxWidgets on X64 platforms

Hi All,

I want to build the wxWidgets library to support the X64 platfroms, how can I do it? do you know something about it? please give me some advice, thanks in advance.

regards
James