Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » About DHCtrl and window handles...
Re: About DHCtrl and window handles... [message #12682 is a reply to message #12679] Tue, 13 November 2007 00:13 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
mdelfede wrote on Mon, 12 November 2007 17:42

luzr wrote on Mon, 12 November 2007 23:21


Quote:


MainWindow->A->B (-> represent Parent of)
B is windowed. I get the event... should I reflect to toplevel window ? I think that should the more consistent way to do the job...



No.



Why not ? Confused
Doesn't TopWindow take care of dispatching events to various Ctrl virtual funcs (like paint...) ? The only other possibility I see is to reimplement all low level event dispatcher for my control... seems to me a bit nonsense.... Where am I wrong ?


Well, standard EventProc leaves that to U++. The idea is to override WindowProc / EventProc, do you hooks and then call Ctrl::WindowProc/EventProc...

Anyway, I guess your control will be of special kind anyway (like GLCtrl).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SVN plan...
Next Topic: Interesting problem with setlocale
Goto Forum:
  


Current Time: Wed Jun 25 21:23:49 CEST 2025

Total time taken to generate the page: 0.04265 seconds