Search found 864 matches

by Sof_T
Sun Oct 26, 2008 6:43 pm
Forum: General Development
Topic: Convert animated gif to xpm - How to create wxAnimation?
Replies: 1
Views: 721

You can use bin2c to convert the gif to a c/c++ array which you can embed in your code and compile into the executable. Then just load it from a memory stream.

Sof.T
by Sof_T
Sat Oct 25, 2008 6:57 am
Forum: General Development
Topic: code dump usage question
Replies: 4
Views: 1050

Take it as a yes, that is what the code dump is for sharing code you think may be useful for other users.
by Sof_T
Thu Oct 23, 2008 9:53 am
Forum: wxDev-C++
Topic: AuiNotebook - Position of mouse for tab right click event
Replies: 2
Views: 816

Can you use wxGetMousePosition() from within your function?
by Sof_T
Sat Oct 18, 2008 11:02 am
Forum: Component Writing
Topic: Animated control
Replies: 1
Views: 768

If the buttons are held on the panel, not in a sizer, you could loop through all the children of the panel and alter their left property in steps until they are all hidden.

Sof.T
by Sof_T
Fri Oct 17, 2008 2:40 pm
Forum: C++ Development
Topic: My Application became motionless
Replies: 6
Views: 934

The docs do say that GUI calls are not thread safe and should not be called from anything but the main thread. You need to rework your code so the worker thread notifies the main thread to create a window.

Sof.T
by Sof_T
Mon Oct 06, 2008 9:13 pm
Forum: C++ Development
Topic: what is a non-virtual thunk? (wxChoice::GetCount, etc.)
Replies: 2
Views: 2205

Searching Google for wxwidgets and non-virtual thunk returns a lot of responses so you are not alone. There is a thread here http://lists.wxwidgets.org/pipermail/wx ... 96195.html that might help.
by Sof_T
Mon Oct 06, 2008 9:02 pm
Forum: C++ Development
Topic: How to usw wxWidget as member? - Memory problem
Replies: 4
Views: 621

What does your debugger point to at the moment the crash occurs?
by Sof_T
Sat Oct 04, 2008 3:22 pm
Forum: wxDev-C++
Topic: Help loading images!!!
Replies: 5
Views: 1077

Hola Beatriz

Do you mean that you want to extend the example in my book to be able to add images to the HTML source?

Sof.T
by Sof_T
Thu Sep 25, 2008 9:51 pm
Forum: C++ Development
Topic: xpm bitmap on mac os
Replies: 3
Views: 497

You can embed PNGs in your source code using bin2c. It gives you the same advantages as XPMs but nicer looking images.

Sof.T
by Sof_T
Tue Sep 16, 2008 7:01 pm
Forum: C++ Development
Topic: Any AJAX-type support?
Replies: 3
Views: 575

There was/is a project called wxAJAX, they have a demo here http://silvercoders.com/demo/wxajax/ but it only runs under mozilla. I haven't heard anything about it for a while, so I don't guarentee it is still active.
by Sof_T
Tue Sep 16, 2008 6:38 pm
Forum: wxDev-C++
Topic: getting from wxDevCpp to visual c++
Replies: 10
Views: 1221

You can use Visual C++ compiler with wxDev-C++. That way you can use your existing project and add in your framegrabber SDK. Unfortunately the main wxDev-C++ site is down at present so I can't point you in the direction of a tutorial to show you how to add in the Microsoft compiler, maybe one of the...
by Sof_T
Fri Sep 12, 2008 8:26 am
Forum: C++ Development
Topic: Undefined reference to "wxStyledTextCtrl::wxStyledText.
Replies: 3
Views: 677

You need to link to the stc library in you project options if you are using an IDE or in your makefile. I haven't got access to a computer with wxWidgets installed, but the library name will include stc and end in .a.

Sof.T
by Sof_T
Wed Sep 10, 2008 8:03 pm
Forum: wxDev-C++
Topic: can't load image from file : file does not exist
Replies: 2
Views: 1057

You can change the output location for the executable under the project options to get it in the right place for your images.

Sof.T
by Sof_T
Tue Sep 09, 2008 8:31 am
Forum: wxDev-C++
Topic: Linux version?
Replies: 1
Views: 551

The easiest way to port a wxDev-C++ application is to install codeblocks on Liux, then import your program as a DevCpp project. You may need to remove certain files from the project such as .rc files since Linx doesn't use them.
by Sof_T
Sun Sep 07, 2008 9:53 am
Forum: General Development
Topic: Distributing wxWidgets application with source - how?
Replies: 10
Views: 1395

Just saying I had to make changes is very vague, you are leaving us to guess what changes you had to make. My guess is that you are referring to the setup.h file and the changes need to include or remove a component from the library, is this correct? To confirm this guess we need to read through a f...