Search found 4 matches

by finn
Thu Mar 30, 2006 9:33 am
Forum: C++ Development
Topic: sample is useful
Replies: 1
Views: 456

very helpful - thank you

very helpful sample. there's some sample code on the web for different versions of wxwidgets. so i started to look in the wxwidgets dokumentation (2.6.2) for what this sample does and did not find the called functions. after hours of testing what i found in the wxwidgets documentation, i found that ...
by finn
Thu Feb 09, 2006 11:38 pm
Forum: The Code Dump
Topic: handling control events (incl. mouse) in parent window
Replies: 5
Views: 18607

aloha Edwin, you mentioned writing a wxEventhandler derived class to add that to any control and forcing the event propagation from that control. again a great idea. i needed to check that out and doing so, i found another solution : every wxWindow is derived from wxEvtHandler, meaning every wxWindo...
by finn
Wed Feb 08, 2006 10:10 pm
Forum: The Code Dump
Topic: handling control events (incl. mouse) in parent window
Replies: 5
Views: 18607

Hello Edwin,

beautiful solution ! more streamlined than mine. if you don't mind, i'll use it in my code.

for avoiding the 999 "hack" : the documentation for wxEvent::m_propagationLevel mentions a constant wxEVENT_PROPAGATE_MAX. did you try that ?
by finn
Sun Feb 05, 2006 5:32 pm
Forum: The Code Dump
Topic: handling control events (incl. mouse) in parent window
Replies: 5
Views: 18607

handling control events (incl. mouse) in parent window

aloha, i wanna share a reusable, minimal effort solution for handling any control events in event handler functions of the control's parent window (including mouse events). i will show the specific solution and then explain how to use it in general. being a newbie to wxWidgets, playing around with i...