How can I capture the minimize event from Fluxbox?
<p>I am developing on RHEL using C++ and QT.  I am trying to develop a simple dock bar.  I have the bar on the bottom of the screen now.  But how can I find what windows exist (and which one has focus) so I can put the icons on the dock?  Also, how can I capture the minimize event of a window so that I can render the icon on the dock to "lost focus"?  </p>

<p>I have look for two weeks now and have found several example docks out there (KXDocker, BMPanel, etc) but they are all too complicated.  Since I am learning as I go, I need a very basic working example.  I will add to it after that.</p>

<p>Thanks for all your help.</p>
