Search found 144 matches

by zhouhao
Mon Jul 23, 2007 3:59 pm
Forum: C++ Development
Topic: event handling for wxactivex
Replies: 4
Views: 1032

event handling for wxactivex

I have a window inherit from wxActivex which load and play swf file. Everything works fine except that the activex events are not triggered if I include event table in my window class. ( It works if the event table is in its container panel). I'll appreciate if anybody have any clue or suggestion. H...
by zhouhao
Sat Jun 23, 2007 4:01 pm
Forum: C++ Development
Topic: Question about wxScreenDC
Replies: 0
Views: 412

Question about wxScreenDC

I'm trying to draw a bitmap directly on screen. Here is my code: desktopanimationPanel::desktopanimationPanel( wxWindow* parent ) : MainPanel( parent ), m_timer(this,100) { wxInitAllImageHandlers(); m_timer.Start(10); } desktopanimationPanel::~desktopanimationPanel() { } void desktopanimationPanel::...
by zhouhao
Thu May 31, 2007 9:01 am
Forum: C++ Development
Topic: Encryption with zip file used by virtual file system
Replies: 0
Views: 605

Encryption with zip file used by virtual file system

I'm working on a project which need to encrypt data into a zip file which then using by virtual file system ( the files are encrypted separately before writing into the zip file). My approach is writing inputstream/outputstream whose OnSysRead and OnSysWrite doing the encryption and decryption. But ...
by zhouhao
Tue May 08, 2007 2:06 pm
Forum: C++ Development
Topic: Question about file stream
Replies: 2
Views: 646

Recently all my posts are not replied. Where are the wxWidgets experts? I even suspect I posted to wrong forum.
by zhouhao
Tue May 08, 2007 7:15 am
Forum: C++ Development
Topic: mediactrl question
Replies: 1
Views: 501

If I'm not wrong. The Load function in mediactrl is loading file to memory. Why there is no interface to load movie already in memory?
by zhouhao
Tue May 08, 2007 5:21 am
Forum: C++ Development
Topic: mediactrl question
Replies: 1
Views: 501

mediactrl question

I have a big video file in memory, can I play it by mediactrl directly? Of course I can write the video into a temp file first. But it's a bit slow.
by zhouhao
Mon May 07, 2007 5:28 pm
Forum: C++ Development
Topic: Question about file stream
Replies: 2
Views: 646

Question about file stream

My task is to write part of a file to another file by using wxFFileInputStream and wxFFileOutputStream. Here is my code: wxFFileInputStream in(file); size_t total_len = in.GetLength(); in.SeekI(pos); char* buf = new char[size]; in.Read(buf,size); wxFFileOutputStream out(another_file); out.Write(buf,...
by zhouhao
Tue Apr 24, 2007 8:41 am
Forum: C++ Development
Topic: How to embed a wxPanel in an ActiveX control?
Replies: 2
Views: 623

Look for wxIEHtmlWin as an example. It uses wxActiveX as an activex container.

I managed to use wxActiveX to host a flash.ocx. It woks fine for me.
by zhouhao
Thu Apr 19, 2007 3:40 am
Forum: C++ Development
Topic: wxActivex and flash
Replies: 3
Views: 1605

Any suggestion please!
by zhouhao
Mon Apr 16, 2007 3:57 pm
Forum: C++ Development
Topic: wxActivex and flash
Replies: 3
Views: 1605

Anybody who is farmiliar with wxActivex and flash advise please. I don't even know where to start to debug my problem.

Can I use wxActivexContainer? As I know wxActivexContainer isn't exported. How can I use it?
by zhouhao
Sun Apr 15, 2007 12:37 pm
Forum: C++ Development
Topic: wxActivex and flash
Replies: 3
Views: 1605

Please say something even you don't know the anwser. Just give some suggestions. I'm totally lost here. Thanks
by zhouhao
Sat Apr 14, 2007 6:01 am
Forum: C++ Development
Topic: wxActivex and flash
Replies: 3
Views: 1605

wxActivex and flash

I wrote a component simular to wxIEHtmlWin by using wxActivex and flash.ocx. It is able to play flash animation. But I got some problems. Normal flash without any buttons can be played. But any flash with buttons can not be played. It only shows the first frame. When I click at anywhere, it will tur...
by zhouhao
Fri Apr 13, 2007 4:34 pm
Forum: wxCode
Topic: IEHtmlWin and embedding webpage on wxWindows
Replies: 12
Views: 3838

The funnest thing is normal animation is ok for the flash. But any flash with buttons got problems. Even animation stops working if there is any buttons included. I've tested the flash by using wxIEHtmlWin without any problems. So that means there must be something wrong in the container. But what c...
by zhouhao
Fri Apr 13, 2007 6:34 am
Forum: wxCode
Topic: IEHtmlWin and embedding webpage on wxWindows
Replies: 12
Views: 3838

I got some more problems to play flash. Maybe this is not the right place to ask. But I'm using wxWidgets and I don't know whether other forum provide help or not. So I post my question here. Inside flash9b.tlh file, the event declaration is like: struct __declspec(uuid("d27cdb6d-ae6d-11cf-96b8...
by zhouhao
Thu Apr 12, 2007 5:22 pm
Forum: wxCode
Topic: IEHtmlWin and embedding webpage on wxWindows
Replies: 12
Views: 3838

Hi, i don't know exactly, but a long time ago i had used M$ excel in my c++ project. I did: #import <mso9.dll> no_namespace i suppose you can try the next: #import <flash.ocx> no_namespace in your *.cpp file, that will generate two include files. Thank you so much. I managed to generate .h file by ...