Search found 144 matches

by zhouhao
Wed Oct 25, 2006 10:42 am
Forum: C++ Development
Topic: Failed to link to wxActiveXContainer
Replies: 4
Views: 1032

Failed to link to wxActiveXContainer

I'm using wxActiveXContainer in my application. But I got a link error as following: error LNK2001: unresolved external symbol "public: __thiscall wxActiveXContainer::wxActiveXContainer(class wxWindow *,struct _GUID const &,struct IUnknown *)" ([email protected]@[email protected]@@[email protected]@PAUIU...
by zhouhao
Tue Oct 24, 2006 10:06 am
Forum: C++ Development
Topic: browsers
Replies: 3
Views: 784

I was writing an application which uses Mozilla Browser few months ago. But I used VS2003 for this. There were some problems with building Mozilla with VS2005 but I know the solution now. I'm planning to write some tutorial in nearest future about how to embed Mozilla browser to the application (at...
by zhouhao
Tue Oct 24, 2006 10:05 am
Forum: Compiler / Linking / IDE Related
Topic: MSVC++ 2005 EE, relative path problems when compiling
Replies: 6
Views: 1834

martin the third wrote:Thanks, I finally got it working.

Im now working on compiling wxMozilla and Im very close to completing that task.

-m3
How do you compile that? I have totally no clue about it.


Thanks
by zhouhao
Mon Oct 23, 2006 6:21 am
Forum: Announcements and Discoveries
Topic: wxSkin - release in sight
Replies: 8
Views: 1540

Looks good. Is it a "shaped" window? Can I apply skin to normal window? Are you going to release your source code?
by zhouhao
Wed Oct 18, 2006 3:19 pm
Forum: C++ Development
Topic: Play midi file
Replies: 2
Views: 680

Play midi file

Is there a way to play a loaded midi file (in memory) by wxWidgets or third party components? Of course I can write a midi parser and send midi event to wxMidi. But it's a bit too complicated. And I've also tried wxMediaCtrl. It can play midi file but there is no way to play a midi in memory. Can an...
by zhouhao
Thu Oct 05, 2006 2:28 am
Forum: C++ Development
Topic: wxFRAME_NO_TASKBAR doesn't work
Replies: 4
Views: 899

I wrote a testing program with a main frame and a child frame which has the style wxFRAME_NO_TASKBAR. There is only one task shown in my task bar now but when I pressed ALT+TAB there are two tasks inside. What's wrong with it?
by zhouhao
Wed Oct 04, 2006 3:43 am
Forum: C++ Development
Topic: wxFRAME_NO_TASKBAR doesn't work
Replies: 4
Views: 899

Thanks for your reply and I think it'll work. But I'm afradi my case is different in the following way: 1. I'm using frame not dialog 2. My frame is the child of another frame. 3. My frame is not a shaped frame I'd better to write a test program to see whether I can reproduce the same problem. Thank...
by zhouhao
Wed Oct 04, 2006 2:17 am
Forum: C++ Development
Topic: wxFRAME_NO_TASKBAR doesn't work
Replies: 4
Views: 899

wxFRAME_NO_TASKBAR doesn't work

I've created one frame which is main frame and created another frame which is the child of main frame with style wxFRAME_NO_TASKBAR. But unfortunately the child frame is still shown in taskbar which is not what I expected. Can anybody advise? Thanks
by zhouhao
Tue Sep 05, 2006 5:40 am
Forum: C++ Development
Topic: How wxJoystick works?
Replies: 10
Views: 1958

Thanks doublemax. You are the one who always helps.

You're right. I call SetCapture() multiple times for one joystick. But I've called ReleseCapture() and the wxJoystick object is destroyed before I create new wxJoystick object and call SetCapture() agian.
by zhouhao
Mon Sep 04, 2006 7:37 am
Forum: C++ Development
Topic: How wxJoystick works?
Replies: 10
Views: 1958

Nobody use wxJoystick? Do you have simular problem?
by zhouhao
Wed Aug 30, 2006 1:13 am
Forum: C++ Development
Topic: How wxJoystick works?
Replies: 10
Views: 1958

Anybody knows wxJoystick well? Please help.
by zhouhao
Mon Aug 28, 2006 6:30 am
Forum: C++ Development
Topic: How wxJoystick works?
Replies: 10
Views: 1958

I have few more questions: 1. How many buttons supported? It seems wxWidgets can only support 4 button of joystick. But the GetNumberButtons() return more than that. 2. It seems the wxJoyStick can be only initialize once. Here is my code: CTestJoyStickDlg::CTestJoyStickDlg() { m_pJoystick = new wxJo...
by zhouhao
Mon Aug 28, 2006 3:25 am
Forum: C++ Development
Topic: How wxJoystick works?
Replies: 10
Views: 1958

How wxJoystick works?

I'm working on a application which need joysticks. According to document, I know wxWidgets can support one or two joystick which is no problem for me since I need at most 2 joysticks. But I want to know how to detect how many joysticks installed in system. I've used the following code but it's out o...
by zhouhao
Mon Aug 28, 2006 3:13 am
Forum: C++ Development
Topic: Mainloop for a gamelike system
Replies: 26
Views: 6766

One way to solve this problem (I hope not the best one) is to use wxTimer. Place it in your project, set interval to 1, then put your render code in OnTimer event. It's far from perfect, yet it should be sufficient for some kind of 3D edit tools. I agree with this. I actually did in one of my game ...
by zhouhao
Fri Aug 25, 2006 3:03 pm
Forum: Announcements and Discoveries
Topic: ANN: wxPack Released
Replies: 23
Views: 6412

I'm using MONOLITHIC,unicode,dll,release/debug build.