Search found 20 matches

by SamHu
Wed Mar 28, 2012 2:15 am
Forum: C++ Development
Topic: wxFileDialog Cause unknown excpetion
Replies: 1
Views: 417

wxFileDialog Cause unknown excpetion

winXP wxWidgets 2.8.12 mingw6.4 codelite ================================================================= I am using the wxFileDialog to get a path and it is working fine , But when I close my app the windows OS send me a error message of unknown exception. I am pretty sure that the wxFileDialog ca...
by SamHu
Sat Feb 25, 2012 12:42 pm
Forum: C++ Development
Topic: [Need Help]How to load and save [SOLVED]
Replies: 2
Views: 809

Re: [Need Help]How to load and save [SOLVED]

oh yeah I finded
thanks
it is right on the mannual I just miss it
by SamHu
Sat Feb 25, 2012 11:08 am
Forum: C++ Development
Topic: [Need Help]How to load and save [SOLVED]
Replies: 2
Views: 809

[Need Help]How to load and save [SOLVED]

how to load and save a file to and from a wxRichTextCtrl there seems to be some member function in wxRichTextBuffer and wxRichTextFilehandler\ but they all seems to be "virtual" is there an easy way to do it ? ----------------------------------------- useing the "gtk" version but...
by SamHu
Mon Feb 20, 2012 6:44 am
Forum: C++ Development
Topic: [Help!]wxImage:Incomplete construction from unsigned char*
Replies: 3
Views: 821

[Help!]wxImage:Incomplete construction from unsigned char*

Evironment:ubuntu 12.04
wxWidgets:2.8.12(gtk)
I want to creat a image 150*90 from array(unsigned char*)
half of pix are fine but the rest pix are random data.
screenshot.png
incompelete construction
screenshot.png (5.29 KiB) Viewed 821 times

Any help !
Please Help!
by SamHu
Fri Feb 17, 2012 9:13 am
Forum: C++ Development
Topic: Need Help -- System thread (Linux)
Replies: 1
Views: 315

Need Help -- System thread (Linux)

If I want to use system pthread to open a GUI front developed with wxWidgets then what is the entry point ?
by SamHu
Fri Oct 14, 2011 11:06 am
Forum: C++ Development
Topic: Why the window is frozen ??
Replies: 5
Views: 1198

Re: Why the window is frozen ??

Well, you need to press the button on the first frame and then the second frame that pops up will be a frozen one, when you try to move it the noise of error comes out. And That' my problem.
by SamHu
Fri Oct 14, 2011 10:58 am
Forum: C++ Development
Topic: Why the window is frozen ??
Replies: 5
Views: 1198

Re: Why the window is frozen ??

OS ?
Under win7
So it is an actual operating system ,I mean the wxOSX 2.9.2 ???
by SamHu
Wed Oct 12, 2011 9:58 am
Forum: wxCode
Topic: Help!-wxctb:Finally pass compile still not working right [SOLVED]
Replies: 3
Views: 2865

Re: Help!-wxctb:Finally pass compile still not working right [SOLVED]

I only know how to use debugger in IDE but this one is compiled with command in CMD.exe.
I have no idea how to use debugger of mingw with command
Any tips on that
by SamHu
Wed Oct 12, 2011 9:52 am
Forum: C++ Development
Topic: Why the window is frozen ??
Replies: 5
Views: 1198

Re: Why the window is frozen ??

Here are all the source: gui.h gui.cpp main.h Here are the main.cpp: #include "main.h" // initialize the application IMPLEMENT_APP(MainApp); //////////////////////////////////////////////////////////////////////////////// // application class implementation ////////////////////////////////...
by SamHu
Tue Oct 11, 2011 2:35 pm
Forum: wxCode
Topic: Help!-wxctb:Finally pass compile still not working right [SOLVED]
Replies: 3
Views: 2865

Help!-wxctb:Finally pass compile still not working right [SOLVED]

--windows 7 --mingw-4.4.1 --wxctb-0.16 I finally understand how the file in wxctb are organized and pass compiling. but the testctb.exe compiled with the .dll is not running right it is supposed to test serial port and serve as an sample in the addition. before I learn how to program with it I need ...
by SamHu
Tue Oct 11, 2011 1:40 pm
Forum: C++ Development
Topic: Why the window is frozen ??
Replies: 5
Views: 1198

Why the window is frozen ??

I have two window frame in the App (as public members): the frame1 and the frame2 I show the frame1 in App::OnInit and get some values;(I passed the this pointer to both frame so they can access to the other member of App) then I use a button event handler(a member function of frame1) to pass those ...
by SamHu
Tue Oct 11, 2011 12:34 pm
Forum: C++ Development
Topic: How convert String to number [SOLVED]
Replies: 3
Views: 686

Re: How convert String to number [SOLVED]

got it thanks
by SamHu
Mon Oct 10, 2011 4:00 pm
Forum: C++ Development
Topic: How convert String to number [SOLVED]
Replies: 3
Views: 686

How convert String to number [SOLVED]

I use wxcomboBox to get some value but it is string
is there available class or function or anything help me convert string2num
by SamHu
Mon Oct 10, 2011 3:55 pm
Forum: wxCode
Topic: trouble in compile wxctb
Replies: 3
Views: 1290

Re: trouble in compile wxctb

is it possible that I got the wrong makefile because i just download it the maintainer won't release a broken version, will (s)he? in fact i'm pretty sure that i didn't do it right because I never did. I am trying this for a week, i need this serial port control in one of my project I don't want to ...
by SamHu
Mon Oct 10, 2011 1:47 pm
Forum: wxCode
Topic: trouble in compile wxctb
Replies: 3
Views: 1290

trouble in compile wxctb

This is the message I got when I was trying to compile the wxctb-0.16
How do I fix it ??
Help!!!! [-o< [-o< [-o<


trouble.png
trouble in compiling wxctb
trouble.png (11.96 KiB) Viewed 1290 times

Go to advanced search