Search found 38 matches

by james.chengguangwang
Tue Aug 08, 2006 9:19 am
Forum: wx.NET
Topic: Help: A wxDialog Dll Error
Replies: 16
Views: 10627

And when I close the dialog, it has some problems at the line: FreeLibrary(hModule); And the messagebox display the following text: Windows has triggered a breakpoint in EXE.exe. This may be due to a corruption of the heap, and indicates a bug in EXE.exe or any of the DLLs it has loaded. The output ...
by james.chengguangwang
Tue Aug 08, 2006 9:18 am
Forum: wx.NET
Topic: How to use a class which is built in the Dll (Create Object)
Replies: 4
Views: 4544

Please turn to the following URL: http://forums.wxwidgets.org/viewtopic.php?t=9500&highlight=dll And when I close the dialog, it has some problems at the line: FreeLibrary(hModule); And the messagebox display the following text: Windows has triggered a breakpoint in EXE.exe. This may be due to a cor...
by james.chengguangwang
Tue Aug 08, 2006 5:25 am
Forum: wx.NET
Topic: Help: A wxDialog Dll Error
Replies: 16
Views: 10627

Help: A wxDialog Dll Error

Hi All, I have written a demo program about the dll which encapsulates a subclass of wxDialog, and it is ok, but who I invoke the dll in a win32 application, it has a problem who I close the dialog, the functions is all right, can you help me to see what happens and how to fix it ? thanks for your c...
by james.chengguangwang
Tue Aug 08, 2006 4:56 am
Forum: C++ Development
Topic: XML Resources and Events
Replies: 7
Views: 1528

XRC Event Handling

Hi David, Thank you for your helping, I think I have gotten the idea. I think you don't need to forward the button id to the typical method EndModal(...),I think I can solve the event in a ordinary method in which I define in the MyButtonDialog class. As a result, we can use MyButtonDialog as a well...
by james.chengguangwang
Mon Aug 07, 2006 2:43 am
Forum: C++ Development
Topic: XRC and vertically centered wxStaticText
Replies: 2
Views: 632

Maybe this is a solution about it

Hi All, I have used wxGlade tool for designing the UI interface, the attributes is shown via the following xrc file content: <?xml version="1.0" encoding="UTF-8"?> <!-- generated by wxGlade 0.4.1 on Mon Aug 07 09:18:19 2006 --> <resource version="2.3.0.1"> <object class="wxDialog" name="dialog_1" su...
by james.chengguangwang
Mon Aug 07, 2006 12:03 am
Forum: C++ Development
Topic: XML Resources and Events
Replies: 7
Views: 1528

XRC Event Handling

Hi All, I am a beginner of wxwidgets programming, I have implemented the way which connects some specific events to a series of functions, but according to what you have said, there is a formal way which ceates a subclass of wxDialog and assign a event table to it, my question is that how can I put ...
by james.chengguangwang
Wed Aug 02, 2006 9:42 am
Forum: C++ Development
Topic: DLL project settings (upCASE or DLL project user)
Replies: 7
Views: 914

But how did you get the wxToolBar object?

Can you give us the whole wxToolBar source code ?
I would really appreciate your help!