Your application has been very usefull.
Nobody problems with the different versions of VC++.
I have just proove it, and i must say to you thank because you give me the just channel to proceed forward in my interesting project.
I downloaded the sample project and built it in Visual C++ 6.0, under NT 4.0. It behaves oddly. The appbar appears, but it can't be resized or dragged to another edge of the screen. Also, the 'autohide' and 'always on top' buttons don't seem to work. I can't figure out what the 'turbomatt' button is for.
I would like to use in one "MDI application": Appbar class and use this functions: CreateDesktop, Switch Desktop to create other desktop where I will have only my MDI application as Appbar. I tried to use this class and these functions in one application but I can use only Appbar class or functions for creating desktops. How could I use it in one application?
Unfortunately there is a slight bug in the appbar dragging code in CAppBarDlg. It manifests itself in the following way:
When the appbar has been attached to an edge for the first time, when the user clicks (without moving the mouse), the desktop resizes back to normal state behind the appbar. If the appbar is dragged or clicked on again, the desktop resizes properly.
The reason for this is that if CAppBarDlg::OnLButtonUp() is called without a call to OnMouseMove(), m_rcDrag has not been initialised.