Search found 23 matches

by Aardbei
Tue Jun 07, 2005 1:41 pm
Forum: Component Writing
Topic: adding new notification events
Replies: 2
Views: 2214

Re: adding new notification events

xee wrote:first, I want to ask how to choose the id for the new event(which is set to 5000 in the code above).
Use wxNewEventType().

You could also have a look at this page for more information about how to create custom events.
or this one
by Aardbei
Tue Jun 07, 2005 1:29 pm
Forum: General Development
Topic: Mouse event handling?
Replies: 10
Views: 5144

i don't know of any other way to get the mouse-position at any time anywhere on the screen. maybe someone else knows a better way...
wxGetMousePosition()?
by Aardbei
Mon Jun 06, 2005 3:33 pm
Forum: Platform Related Issues
Topic: Problem with shaped frames in wxGTK
Replies: 3
Views: 2066

Re: Problem with shaped frames in wxGTK

Gtk+ widgets aren't created yet @ the c'tor stage. You can use the EVT_WINDOW_CREATE event to set the window region later on, instead of in the c'tor. #include <wx/wx.h> #include <wx/image.h> class MyFrame : public wxFrame { wxBitmap m_Background; public: MyFrame(wxWindow * parent); DECLARE_EVENT_TA...
by Aardbei
Mon Jun 06, 2005 9:42 am
Forum: C++ Development
Topic: Transparency of window
Replies: 8
Views: 2205

I don't know if that makes sense, but I think you will see the same weird sentences here ;-) Heh, this translator tells me your English is 'highly evil' :D :roll: --- Here's some friendly advice (to prokicki and anyone else who's trying to use an online translator): when asking some question, try t...
by Aardbei
Mon Jun 06, 2005 9:40 am
Forum: Announcements and Discoveries
Topic: wxRapid - A GUI editor
Replies: 43
Views: 13889

By the way Aardbei in which prg did you write that text? I assume you use a tablet pen? I am a bit of a cartoonist myself, and I am just curious ;-) Yes, I'm using a tablet (If you don't have one, get one now! It's a must have for every artist) , usually together with the (lin/win)GIMP for image ma...
by Aardbei
Fri Jun 03, 2005 8:19 pm
Forum: Announcements and Discoveries
Topic: wxRapid - A GUI editor
Replies: 43
Views: 13889

Nice, looks very good! Here's a bunch of comments (I'm just writing down everything I've found, you might know about all or most of them already): - It would be a good idea to add the ability to cancel the 'Project Options'-dialog :shock: the 'x' is disabled and there's only an OK button; how can I ...
by Aardbei
Tue May 31, 2005 3:15 pm
Forum: C++ Development
Topic: wxEVT_CREATE and wxEVT_DESTROY
Replies: 1
Views: 2162

I'm using 2.6.0 and what you're describing for the wxEVT_DESTROY event happens for the wxEVT_CREATE event as well. All the events from child windows are redirected to the top level parent (definitely NOT what I want). - Does anyone actually use these onCreate and onDestroy events? - Has anyone alrea...
by Aardbei
Tue May 31, 2005 11:07 am
Forum: C++ Development
Topic: Problem with access between classes
Replies: 26
Views: 6368

Hey, that's some smart use of EVT_MENU events, hadn't thought about that yet :)

3 hurrays for Jorg!
by Aardbei
Mon May 30, 2005 11:13 pm
Forum: The Code Dump
Topic: wxTreebook
Replies: 4
Views: 4526

by Aardbei
Mon May 30, 2005 12:59 pm
Forum: C++ Development
Topic: Problem with access between classes
Replies: 26
Views: 6368

You don't have to make those classes friends for that. Where did you (you did, did you?) initialize the 'frame' member of ContrastDialog? If you didn't, your program crashes because you're accessing an uninitialized pointer. Anyway, here's a cleaner approach that should work for doing what you're t...
by Aardbei
Mon May 30, 2005 12:13 pm
Forum: C++ Development
Topic: Is it possible to remove mingwm10.dll dependency?
Replies: 2
Views: 1505

mingwm10.dll is used (required) for thread support, you can remove the dependency by disabling it using --disable-threads (when configuring wxWidgets). - There's this post at the wx mailing list, but I don't know if that's true (probably not). - According to the 2nd url at this link , mingwm10.dll h...
by Aardbei
Sun May 29, 2005 11:50 am
Forum: C++ Development
Topic: AutoRun?
Replies: 3
Views: 1359

Here's a few urls that should help you for the desktop specific ways of auto-starting programs: http://gentoo-wiki.com/HOWTO_Autostart_Programs http://www.kde.org/areas/sysadmin/startup.php http://lists.freedesktop.org/archives/xdg/2004-January/003146.html http://www.die.net/doc/linux/man/man1/gnome...
by Aardbei
Sun May 29, 2005 11:15 am
Forum: Platform Related Issues
Topic: Which Linux Distro ?
Replies: 6
Views: 2067

Image

I think he means he wants to use HTML for formatting (instead of BBCode).
by Aardbei
Thu May 26, 2005 2:18 pm
Forum: C++ Development
Topic: [2.6.0] Functionality of wxGLCanvas::SetViewport
Replies: 4
Views: 1490

glViewport.

(not done automatically, afaik - wouldn't be useful anyway because it's nice to have the ability to define more than one viewport)
by Aardbei
Fri May 20, 2005 10:28 am
Forum: General Development
Topic: A full screen window
Replies: 5
Views: 9014

Not sure, but I think this will do:

Code: Select all

long styleflag = GetWindowStyle();
SetWindowStyle(styleflag | wxSTAY_ON_TOP);
(seems to be Windows-only, according to the docs)