[Qt-interest] Active Window notification
Kalle Last
kalle.last at gmail.com
Tue Mar 17 10:07:08 CET 2009
2009/3/17 Ankit Agarwal <ankit17.ag at gmail.com>:
> Hi,
> check out changeEvent(QEvent *event) and event->type() == 99.
> 99 is the code for Activation event.
>
> Hope this helps.
>
Instead of hardcoded '99' it would probably be safer to use
QEvent::ActivationChange from QEvent::Type
http://doc.trolltech.com/4.5/qevent.html#Type-enum
--
Kalle Last
--
Kalle Last
More information about the Qt-interest-old
mailing list