wxwidgets

Remove border on activex ie control

For the application im building, i use an activex ie control. It works greate but i cant work out how to remove the border around it. I have tried overriding the invoke call and setting DISPID_BORDERSTYLE to zero but it looks like it never gets hit. Any ideas? ...

Load Excel data into Linux / wxWidgets C++ application?

I'm using wxWidgets to write cross-plafrom applications. In one of applications I need to be able to load data from Microsoft Excel (.xls) files, but I need this to work on Linux as well, so I assume I cannot use OLE or whatever technology is available on Windows. I see that there are many open source programs that can read excel files ...

Problems using wxWidgets (wxMSW) within multiple DLL instances

Preface I'm developing VST-plugins which are DLL-based software modules and loaded by VST-supporting host applications. To open a VST-plugin the host applications loads the VST-DLL and calls an appropriate function of the plugin while providing a native window handle, which the plugin can use to draw it's GUI. I managed to port my origi...

C++ WxWidgets: Redirecting Stdout to a wxTextCtrl across mulitple threads

My application is a multi threaded app (using wxThreads). At the moment, the main thread along with it's child worker threads are outputting various messages to Stdout (using cout). I have a new frame/window with a wxTextCtrl, and would like to redirect all the StdOut messages in to it. GuiLogFrame *logframe; logframe = new...

C++ WxWidgets: Single log window for messages from Multiple Threads

What's the best/proper method to collect log messages from multiple threads and have them all be displayed using a window? (while the threads are running). I am currently trying to redirect stdout (cout) in to a wxTextCtrl but failing miserably when attempting to do so over multiple threads. Any help would be appreciated. ...

Handle Events in wxWidgets

I'm creating a game engine using wxWidgets and OpenGL. I'm trying to set up a timer so the game can be updated regularly. I don't want to use wxTimer, because it's probably not accurate enough for what I need. I'm using a while (true) and a wxStopWatch: while (true) { stopWatch.Start(); <handle events> // I need a function for this g...

Need assistance with wxPython (newbie)

I need to create what I think should be a simple GUI. I have very little experience with building GUI's. I'm a visual learner and 'wxPython In Action' isn't helping me out. I don't learn well by books written by Ph.D.'s. I'm using Python 2.6. Many of the examples on the Internet don't work in Python 2.6. I need to create a GUI with ...

What's the C++ GUI building option with the easiest learning curve - VS/Qt/wxWidgets/etc.?

I'm looking to be able to build GUI applications quickly and painlessly as possible. I'm competent (though not expert, and have no formal training) in C++, but have never used a GUI building toolkit or framework or anything. I am not a professional programmer and am totally inexperienced and ignorant when it comes to building GUI apps. H...

How to make the wxNotebook to expand?

(I have tagged this question as Python as well since I understand Python code so examples in Python are also welcome!). I want to create a simple window in wxWidgets: I create a main panel which I add to a form I associate a boxsizer to the main panel (splitting it in two, horizontally). I add LeftPanel to the boxsizer, I add RightPanel...

Developing Windows applications on Linux?

My primary OS is Linux, but now I'm forced to write some C++ applications for Windows. I was thinking about developing on the Linux box with cross platform libraries like WxWidgets (and some care about other platform dependencies) and then cross compiling the result to mingw target. So the tools I'm thinking of using are g++ for compi...

How can my WxPerl application ignore keypresses while a method runs?

I have an application that waits for the user to press a key and then executes a long running method that periodically updates the GUI. sub keypress{ my $self = shift; my $event = shift; if ($event->GetKeyCode() == WXK_F12){ $self->doStuff(); }else{ $event -> Skip(0); } } I would like to have the application ignore...

wxWindows vs. Gtk for Cross Platform GUI Programming

I've been looking at making a cross-platform GUI application, and I'm wondering whether I should use wxWindow or GTk? I'll be coding in C++, so the quality of the documentation surrounding its C++ bindings is key. I've heard that GTk works better with plain C than with C++. Is this true? ...

WxWidgets problem - Cannot convert from 'const char [1]' to 'wxString&w

Environment : Visual Studio 2008 , wxWidgets 2.8.10 , Vista 64 Code header.h #include <wx/wx.h> class CSend { CSend(wxString& name = ""); ~CSend(); }; main.cpp #include "header.h" void main() { CSend dlg(wxString("Hi")); } When I compile this program I get the following error error C2440: 'default argument' : cann...

wxPython: Items in BoxSizer don't expand horizontally, only vertically.

I have several buttons in various sizers and they expand in the way that I want them to. However, when I add the parent to a new wx.BoxSizer that is used to add a border around all the elements in the frame, the sizer that has been added functions correctly vertically, but not horizontally. The following code demonstrates the problem: ...

wxWidgets - Alpha blending

Is there a way in wxWidget to do alpha blending operations such as multiplying the alpha of a bitmap versus the RGB of other bitmap to generate new images (such as rendering a photo as an anti-aliased circular shape). ...

Debugging a makefile step by step

I want to debug a makefile . I came across many posts in Stackoverflow but still need some help . INCLUDEPATHS=/I"/C:/wxWidgetsDev/lib/vc_lib/mswd" /I"/C:/wxWidgetsDev/include/msvc/" LIBPATHS=LIBPATH:"/C:/wxWidgetsDev/lib/vc_lib" HEADERS=headers.h util.h main.h serialize.h uint256.h db.h base58.h I am using Visual Studio 2008. The IN...

wxwidgets/wxPython: Resizing a wxFrame while keeping aspect ratio.

I have a wx.Frame that has only a single child. While setting up the child's wx.Sizer, I can use the wx.SHAPED flag, which keeps the aspect ratio of the child locked. However, the Frame still has complete freedom in it's aspect ratio, and will leave a blank space in the area that is left unused by the child. How can I lock the aspect ra...

Game engine map editor. SDL->wxWidgets

I have been writing an OpenGL game engine for a while which uses SDL for all the window management and for portability. I would like to create a level editor using the full engine. The engine itself isn't at all tied in with SDL except for input. I would like to use wxWidgets for the GUI and I have been looking at some OpenGL samples whi...

native win32 gui programming in c++ or choose wxWidgets ?

Hello all i like to write GUI software ( i have no experience in GUI programming ) i need it to be small as possible and fast GUI and native Look and Feel in one self contained exe . only on windows from windows 2000 to windows 7 ( or what ever it called ) . what will be the best choice ? win32 api or wxWidgets? ...

How to develop movable and resizable edit text control

Hello all i need to develop Edit Text box widget ( standard one ) that could be re-sized dynamically by the user and also could be movable on the x/y parent window is there any link or tutorial so i could learn how to do this ? somthing like this component , but its old i need to know if its the best way for doing it ? wxResizeableContr...