Dear VBosses!

I have been using a sample code (a class module, a module, and an object module) that I got from the Internet, which changes a form into an appbar (which docks on the edges of the screen). Unfortunately, I am not an API Guru, so this mess of API calls, call back functions, handles, and everything mixes me up. Anyway, I implemented the code in accordance with the structure of my application, generally speaking it works fine. However, whenever a docking state is initialized, the size of the appbar shows up to be different than that is presumed. After 1 or 2 tries (dragging the form to the edge of the workarea) it docks as supposed.

I'll go into further detail as replies come up from those members that might have worked on this docking thing previously.