Search found 69 matches
- Fri Apr 24, 2009 4:24 am
- Forum: C++ Development
- Topic: can't get window class name?
- Replies: 1
- Views: 1245
can't get window class name?
hello: i try to write a program to get a window's class name when the mouse point to it. when i start the wxTimer, the wxEdit box keep empty. what's wrong with my code? // this is a "start" button to start a timer void wxTestFrm::WxButton1Click(wxCommandEvent& event) { // insert your c...
- Mon Apr 13, 2009 3:34 pm
- Forum: C++ Development
- Topic: need help in compiling non-GUI DLL
- Replies: 5
- Views: 1884
- Mon Apr 13, 2009 2:07 pm
- Forum: C++ Development
- Topic: need help in compiling non-GUI DLL
- Replies: 5
- Views: 1884
I found someone who is trying to do the same thing as I am. Are you building a library only to call it's functions or does it store any variables, like global variables? If it is only a library for you to call functions from it, there is no need for a wxApp, wxinitialize or anything like that if th...
- Mon Apr 13, 2009 1:42 am
- Forum: C++ Development
- Topic: need help in compiling non-GUI DLL
- Replies: 5
- Views: 1884
need help in compiling non-GUI DLL
hello: i want to build a dll using wxWidgets classes with no GUI inside. it can't be compiled, i search solution on the forum, most of the dll question about creating GUI dll,which is not i want. i post the source code,hope you correct my mistakes. i use wxDevc++ 6.10.2 dll.h #ifndef _DLL_H_ #define...
- Tue Apr 07, 2009 5:19 am
- Forum: C++ Development
- Topic: how to use cURL in wxwidgets application?
- Replies: 1
- Views: 1806
how to use cURL in wxwidgets application?
hello:
i just download the cURL. how use the cURL command line tool in my wxwidgets application?
could you give me the complete source code of using it?
i did some research on the website, and found nothing i want.
have a nice day!
i just download the cURL. how use the cURL command line tool in my wxwidgets application?
could you give me the complete source code of using it?
i did some research on the website, and found nothing i want.
have a nice day!
- Thu Apr 02, 2009 3:34 pm
- Forum: C++ Development
- Topic: how to show desktop screen on wxBitmapButton?
- Replies: 1
- Views: 944
how to show desktop screen on wxBitmapButton?
hello: i want to show my desktop screen on the wxBitmapButton, what's wrong with my code? wxSize screensize=wxGetDisplaySize(); wxBitmap bitmap(screensize.x,screensize.y); wxScreenDC dc; wxMemoryDC memDC; memDC.SelectObject(bitmap); memDC.Blit(0,0,screensize.x,screensize.y,&dc,0,0); memDC.Select...
- Thu Apr 02, 2009 5:31 am
- Forum: C++ Development
- Topic: question about wxAutomationObject and Outlook Express
- Replies: 2
- Views: 1335
question about wxAutomationObject and Outlook Express
hello: i just read the documentation of wxAutomationObject, and the using it with Excel. is it possible to use it with the Outlook Express to send email? (i use the wxEmail class to test sending email,and it works fine, i want to know another way to work) if the answer is "yes", could you ...
- Tue Mar 31, 2009 1:57 pm
- Forum: C++ Development
- Topic: File Transfer in Chat Application
- Replies: 4
- Views: 1901
- Sun Mar 29, 2009 1:22 am
- Forum: C++ Development
- Topic: possible explorer.exe like application in wxwidgets?
- Replies: 2
- Views: 1408
possible explorer.exe like application in wxwidgets?
hello: i try to write a application in wxwidgets , in its top window, it behaves like explorer.exe. it can view,open,close the files and folders in the computer. i know it's useless to develop this program, but it has values in learning. could anyone explain how it works, what class or win32 api to ...
- Thu Mar 19, 2009 1:19 am
- Forum: C++ Development
- Topic: Fail to send an email message
- Replies: 4
- Views: 2030
hard to tell. This class doesn't actually send the email itself, it requires a MAPI compatible email program with fully configured email account to be installed. Maybe you can trace through the Send() method and see where it fails. thanks. i set up the outlook program . when i press the button"...
- Wed Mar 18, 2009 1:06 am
- Forum: C++ Development
- Topic: Fail to send an email message
- Replies: 4
- Views: 2030
- Tue Mar 17, 2009 9:58 pm
- Forum: C++ Development
- Topic: Fail to send an email message
- Replies: 4
- Views: 2030
Fail to send an email message
hello: i want to send an email message in my wxWidgets application,but fail. what's wrong with this code? the following code aren't compiled. with error, [Linker Error] undefined reference to `wxEmail::Send(wxMailMessage&, wxString const&, wxString const&)' #include <wx/net/msg.h> #inclu...
- Fri Oct 31, 2008 5:58 am
- Forum: C++ Development
- Topic: NEED HELP,wxString type cconvertion TO PWSTR type
- Replies: 9
- Views: 3010
could you give an exact example of what Win32 function you're trying to call and tell whether you're using UNICODE or ANSI in your application. thanks both of you a lot!... i am a c++ lover, and learn it when i am free. may be i have to learn more before i use the win32 api in my application....jus...
- Wed Oct 29, 2008 4:14 pm
- Forum: C++ Development
- Topic: NEED HELP,wxString type cconvertion TO PWSTR type
- Replies: 9
- Views: 3010
- Wed Oct 29, 2008 1:53 am
- Forum: C++ Development
- Topic: NEED HELP,wxString type cconvertion TO PWSTR type
- Replies: 9
- Views: 3010
Hi ! PWSTR is a wchar_t* type. According to the documentation, this function should do what you want: const wchar_t * wc_str () const so PWSTR wide_string = my_string.wc_str(); Regards, Alexandre. thanks for your reply. i have tried this.i got compiler error, my_string.wc_str() returns a constant p...