[Qt-interest] Qt EnumWindows

Colin S. Miller no-spam-thank-you at csmiller.demon.co.uk
Sun May 16 23:47:38 CEST 2010


Raja Rokkam wrote:
> Hi,
> 
> All I need is simply to get list of windows that are visible using 
> EnumWindows and place a sample button on each of windows. Can this be 
> possible ? A small snippet will be really helpful. 
> 
> Or more precisely, given a list of coordinates, place buttons at all 
> those places ?
> 
> I tried using EnumWindows but running into weird crashes.
> 

If you are using The X Window System, (Linux/Unix/Mac) then you could try to reparent
the applications' windows to within a window of your application. However, this
needs intimate knowledge of how X works, and isn't for the faint hearted.

HTH,
Colin S. Miller







More information about the Qt-interest-old mailing list