> Since the Window frame in Windows is owned by the application, how about the possibility of customising the appearance of the Window frame? Or being able to catch the window events associated with window frames like minimize, maximize clicks so I would write my own cusom window frames.
Just forgot to mention that I could implement that, too. :)
I've already done that some time ago as an experiment. See http://gitorious.org/qutim/labs/blobs/master/sevenlist/src/toolframewindow.cpp .
But,
> Since the Window frame in Windows is owned by the application
actually, not. Application windows receive all window messages, both for client and non-client areas, but standart-behaviour windows just pass all of them to default window procedure, provided by Windows (user32.dll, I think).
The trick, which allows us to put widgets in titlebar, is based on extending client area to title bar and then intercepting mouse clicks to tell Windows when user clicks on window frame and Windows should start dragging or resizing and when it should not.
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development