Hi,
I'm injecting a DLL into a QT application.
I want to "know" (Maybe Events) about any new dialog/window that was opened...
is this possible with QT to "know" when a dialog opens?
Thanks
Hi,
I'm injecting a DLL into a QT application.
I want to "know" (Maybe Events) about any new dialog/window that was opened...
is this possible with QT to "know" when a dialog opens?
Thanks
but how can I know that this widget was created?
In a general case you can't. If it has a parent then the parent will receive a ChildAdded event but windows usually don't have a parent so such information is not available. Only when a window is shown you can intercept its show event.
Last edited by wysota; 28th March 2011 at 17:09.
"Can't" is not a word in programming world... especially in windows
Maybe I can check it say every 100mili sec. and see if there are new children to the main application...
Is THIS possible? if so, how?
Thanks
I would say that your statement applies to "works" more than to "can't".
And what do you intend to check exactly? Even if you access QApplication::topLevelWidgets() then doing that every 100ms might not be the wisest idea and you'll probably be getting a lot of false positives. Could you explain what you need this functionality for?Maybe I can check it say every 100mili sec. and see if there are new children to the main application...
My injected DLL is injected into FullTiltPoker and it will report the open table's data to some listener
My utility is intended for providing statistical information for the poker player about the other players in the open tables.
(there are many software with the same idea, but mine is intended to improve your game while playing)
Anyone with some information in this area?
Thanks
I still don't see how knowing about widgets being created might help you in any way. Please explain what you need this mechanism for.
I want to report (From the injected DLL) to my listener ALL the open table's data...
There might be few tables open (dialogs) and my DLL should send ALL this data to the listener.
so, I want to know when a new table (dialog/widget) was opened/shown/closed
Thanks
Bookmarks