Some Qt Code

Miscellaneous Forums/Linux Discussion/Some Qt Code

@Ratchet, if you have Mingw installed, maybe you could try a Modules build (ctl-D).
I think perhaps the windows libs are out of sync with the source - maybe.

@Nigel, Qt has the Win32 function :
bool QWidget::winEvent ( MSG * message, long * result )

which might be of use to your WindowFunc stuff.
This special event handler can be reimplemented in a subclass to receive native Windows events which are passed in the message parameter.
In your reimplementation of this function, if you want to stop the event being handled by Qt, return true and set result to the value that the window procedure should return. If you return false, this native event is passed back to Qt, which translates the event into a Qt event and sends it to the widget.


The trouble you are having with doing direct windows stuff is that Qt abstracts it away and only exposes bits and pieces.

Am also not entirely sure what the bubble help stuff is that you mention. I'm generally better with Linux/Mac platforms :-/

In the GTK module I added a SetAppIcon(pix:TPixmap) function. I was considering adding it to Qt as well - as it's easy to implement.