Search found 144 matches

by zhouhao
Fri Mar 16, 2007 2:41 pm
Forum: C++ Development
Topic: Add multiple file in zip format to memory
Replies: 4
Views: 1030

Add multiple file in zip format to memory

I know I can add multiple files with directory structure into a file by using wxZipOutputStream. But my question is can I add files to memory? I tried the following code. It seems that it doesn't work. wxMemoryOutputStream mem; wxZipOutputStream* zip = new wxZipOutputStream(mem); wxFFileInputStream ...
by zhouhao
Wed Mar 14, 2007 7:27 pm
Forum: The Code Dump
Topic: wxFlatNotebook
Replies: 248
Views: 60989

I got the following linkage error: unresolved external symbol "int const wxEVT_COMMAND_FLATNOTEBOOK_PAGE_CHANGED" ([email protected]@3HB) My compiler is vs c++ 8 express. The wxWidgets is 2.8.0. Can anybody tell what is the possible reason? Forgot to add WXUSINGDLL_FNB in pr...
by zhouhao
Sun Dec 31, 2006 1:16 am
Forum: C++ Development
Topic: wxHtml problem/limitation
Replies: 4
Views: 941

Doesn't support css, javascript is acceptable. But at least it should support standard html.
by zhouhao
Fri Dec 29, 2006 9:08 am
Forum: C++ Development
Topic: wxHtml problem/limitation
Replies: 4
Views: 941

wxHtml problem/limitation

I'm using wxHtml in my project. I found some problems: 1. Doesn't support div/span 2. Doesn't recognize style in body,table. 3. Doesn't recognize width in percentage. Actually there are a lot of other problems. I know wxHtml can only be used in a limited version of browser. It doesn't support CSS, J...
by zhouhao
Tue Nov 28, 2006 1:36 pm
Forum: Announcements and Discoveries
Topic: awxLM licensing component
Replies: 7
Views: 2720

Very useful for some commercial software.Any news for it?
by zhouhao
Mon Nov 13, 2006 3:24 am
Forum: Announcements and Discoveries
Topic: wxVS2005Integration 2.0 released.
Replies: 6
Views: 1388

I am not trying to take over your post. The class wizard Looks awesome!!!! Great work. Good job. But it's expensive. You can try wxPack . It comes with most of the stuff and is free. It ALSO has support for a wxWigets v2.7 project wizard and has for a while. Thanks. I used wxPack before. But there ...
by zhouhao
Mon Nov 13, 2006 3:14 am
Forum: C++ Development
Topic: How wxJoystick works?
Replies: 10
Views: 1915

Am I posting to the wrong forum? Where should I report this bug? It seems nobody care about this problem. But it's definitely a bug. I've look through a sample game called wxNibbles which uses wxJoystick. It uses it in a separated thread and only be initialized once ( the SetCapture only be called o...
by zhouhao
Sat Nov 11, 2006 12:59 am
Forum: Announcements and Discoveries
Topic: wxVS2005Integration 2.0 released.
Replies: 6
Views: 1388

Good job. But it's expensive.
by zhouhao
Fri Nov 10, 2006 7:57 am
Forum: C++ Development
Topic: How wxJoystick works?
Replies: 10
Views: 1915

I've tried the new release 2.7.1. It seems the joystick problem still has not been resolved. Where can I report the bug? Or there is any workaround for this problem?
by zhouhao
Tue Oct 31, 2006 7:44 am
Forum: Announcements and Discoveries
Topic: Visual Studio help file integration
Replies: 6
Views: 1864

That's cool. The new document for wxWidgets 2.7.1 is available. How can I integrate it to Visual studio ? What kind of tools I should use?
by zhouhao
Tue Oct 31, 2006 7:32 am
Forum: Platform Related Issues
Topic: How to post bug fix?
Replies: 2
Views: 508

How to post bug fix?

I found some bug for wxActivexContainer. How can I post my fix? Here is the original code: //--------------------------------------------------------------------------- // // wxActiveXContainer // //--------------------------------------------------------------------------- #define WX_DECLARE_AUTOOL...
by zhouhao
Fri Oct 27, 2006 7:18 am
Forum: C++ Development
Topic: Play midi file
Replies: 2
Views: 666

It is just an idea. I have not tried it and I know nothing about wxMediaCtrol. You could try to write a class derived from wxFileSystemHandler. You only need to implement method wxFSFile* OpenFile(). This method will return a pointer to a memory file stream containing your MIDI file. Then, add your...
by zhouhao
Thu Oct 26, 2006 6:50 am
Forum: C++ Development
Topic: Failed to link to wxActiveXContainer
Replies: 4
Views: 1010

I finally find the reason why got this error. Here is the original code: //--------------------------------------------------------------------------- // // wxActiveXContainer // //--------------------------------------------------------------------------- #define WX_DECLARE_AUTOOLE(wxAutoOleInterfa...
by zhouhao
Thu Oct 26, 2006 5:05 am
Forum: C++ Development
Topic: Failed to link to wxActiveXContainer
Replies: 4
Views: 1010

I've tried to put activex.cpp into my project and it's no problem to link now. But I'm wandering why activex is not in wxmsw27ud.lib because it's inside makefile.vc already. And I set wxUSE_ACTIVEX=1,wxUSE_OLE=1.

Any clue?
by zhouhao
Wed Oct 25, 2006 3:14 pm
Forum: C++ Development
Topic: Failed to link to wxActiveXContainer
Replies: 4
Views: 1010

Nobody knows? I tested with wxWidgets 2.7.1. The same probelm occurs. Here is the source code: class CPdfRenderer : public wxMediaBackendCommonBase { public: CPdfRenderer() : m_pAX(NULL) {} ~CPdfRenderer() { if(m_pAX) { m_pAX->DissociateHandle(); delete m_pAX; } } bool CreateControl(wxControl* ctrl,...