wxwidgets

I have a wxwidgets that I want to add some cool effects. Using GDI would be impossibly hard. Could I use flash or something else?

I have an application that I want add some cool animations to show state changes. However, wxwidgets would be difficult because I'd have to program these animations in straight gdi. What's the best way to add these effect windows? Should I open a flash window and run a flash sequence or is maybe some other technology? Does .net have some...

How can i change the border?

Hello. I make a simle window with wxwidgets. How can i change the border? Also how can i call the destroy fuction(OnClose) with the right arrow button press? #include <wx/wx.h> class _Frame: public wxFrame { public: _Frame(wxFrame *frame, const wxString& title); private: void OnClose(wxCloseEvent& event); D...

how i can take the local properties?

Hello, I am trying to write and lock a program with wxwidgets, but i dont know how i can take the local properties with wxwidget framework. Any idea? I use code::blocks. Thank's Jim ...

In wxwidgets, how do I make one thread wait for another to complete before proceeding?

I have a system where my singleton class spawns a thread to do a calculation. If the user requests another calculation while another calculation is still running, I want it to tear down the existing thread and start a new one. But, it should wait for the first thread to exit completely before proceeding. I have all the tear down working ...

Is there anyway to enable MultiSelect in the StyledTextCtrl

I've noticed that the StyledTextControl (Scintilla basically) in wxWidgets has a great feature that allows multi-selections of text, just like TextMate. However wxRuby doesn't seem to have the function calls to support that feature. I'm wonder if there is a way to enable it or if there might be a way I could rewrite that wrapper to inclu...

Why is wxTextCtrl so slow at displaying text?

I have a wxTextCtrl and I need to put a very large string into it. (Like a 15 MB string) The only problem is it's very slow. Here is what I'm doing: char * buff = ... wxString data(buff, wxConvUTF8); text->ChangeValue(data); However, this is not the bottleneck. That occurrs as soon as the function this block of code is in returns. The...

Can you use wxMutex in an event handler?

Is it possible to use wxMutex->Lock() in an event handler? Since it's the main program thread (gui thread) it can't sleep right? ...

In wxwidgets, how do I lock a vector that is shared between gui thread and worker thread?

If I can't call lock on a mutex in the main application thread (my event handler because you can't lock the main gui thread), how do I share any information between my worker and my main thread? ...

How to customize the file selection dialogs in wxWidgets?

Is it possible to add additional controls to a file selection dialog? If not, what other ways are there to present load/save options to the user? ...

wxWidgets program I developed has two entries in the process manager. Is this normal or a bug?

I'm developing a program in wxwidgets that has one worker thread that does COM stuff. I just noticed that it has two entries in the task manager. Looks like myapp.exe*32 myapp.exe*32 Is this duplicate entry normal? I noticed most other processes don't. Hmm. What could cause this? I'm using Windows 7 Ultimate 64 bit. ...

How to get wxCurl to automatically follow redirects?

I have a project that uses wxCurl to retrieve a file over HTTP. However, if the server sends a 301 or 302, all I get back is an empty string. I heard there was a way to get cURL to follow the location: headers sent by the server. How is this done? Also, how do you set the User-agent header in wxCurl? ...

Binding event to wxMenu instead of wxMenuItem

Im creating a dynamic MenuBar from xml file, and binding events to menu items using Connect(). Some menus does not have items inside, but needs to fire events. Is there a way to attach an event handler to a wxMenu using Connect()? *Im Using wxWidgets 2.8.8 & MS VC++ 6.0 ...

QT4, GTK+, wxWidgets or IronPython for a native Windows app using Python

Hi there. I need to build a native windows app using Python (and py2exe, I guess). Feature requirements are: Taskbar icon Alert notifications (next to Taskbar Icon) Chromeless window (ideally a pretty, rounded, coloured one). Webkit to render some of the Chromeless window So far I've identified the following possible toolkits: pyG...

Convert HDC to wxClientDC?

Is there a way to convert a HDC to a wxDC object? I know wxDC is abstract. Is it possible to convert to wxClientDC? ...

How to implement an editable wxListCtrl (for all columns)?

When I am creating wxListCtrl in report view with wxLC_EDIT_LABELS flag, only the first column of the control is editable. Is there a way to make all columns editable? ...

error while loading shared libraries

Hello! I'm trying to install Code::Blocks from source. There is an `anarchy' folder on my university's CS department's mainframe, where anyone can install anything, basically. wxwidgets is a dependency of Code::Blocks, and I'm trying to put wxGTK, as it's called, into my own folder on `anarchy', which works fine. I then compile Code::...

How to get TRUE column position in wxStyledTextCtrl?

I have a wxStyledTextCtrl and I want to find the column number of a given position in the document. Basically I want a function like GetColumn but I don't want tabs to be expanded. Does such a function exist? ...

OpenCV with other GUI (like Qt or WxWidgets) on Win32 VC++

I want to use OpenCV's image processing functions, but not the OpenCV GUI. I'm using OpenCV 2.0. I will use either Qt4 or WxWidgets for GUI functions. I compile with VC++ 2008 Express (VC++ 9.0). I guess it breaks down to two or three questions: Is it necessary to do something to disable OpenCV's higui so it does not interfere with...

Where is the documentation for wxAUIToolbar?

I looked in http://docs.wxwidgets.org/trunk/ but could't find the documentation for it. Does anyone know where it is and/or why it's not there? ...

Why doesn't my wxPerl application for Windows start?

Hi, I've developed an application with Strawberry Perl 5.8.9.4 using wxPerl. The application is compiled using: wxpar -f Crypto -F Crypto -M Filter::Crypto::Decrypt --compress=9 --gui --icon=icon.ico --lib=./lib --module=App::Order --module=Wx --module=App::GUI::Main --module=App::GUI::Frame --module=App::GUI::Forms::Settings --mod...