Peter,
>Well, I have to use a toplevel-form with a scrollbars and a toolbar.
>
>I had a second look at the cmdMenu.Click() and it is simple cosmetic for the form to prevent controls moving out of the visible window. Code like that does not (in no way, very sorry for that) fix the problem, because there seem to be several layers, that do not match any longer after having docked the toolbars to top.
If you dock a toolbar in a top level form, VFP will have to move all of the controls, otherwise the controls at the dock position would be overwritten.
I'm not going to be much more help with finding workarounds for now, because 1) I never use scrollable forms (I seriously dislike them from a usability stand point) 2) I don't like toolbars in a user app either because I think the buttons belong closer to the rest of the controls on the form, toolbars require too much mouse motion IMHO.
>This seems to be a real serious problem concerning VFP + scrollbar + toolbar.
>How can I report this problem to Microsoft?
Check this Wiki article
http://fox.wikis.com/wc.dll?Wiki~ReportVfpBug~VFP for a link to the MS bug reporting URL and an article for writing good bug reports.