That may be useful with popup forms, but not with standard Access forms
which are MDI and work within the Access window. Popup forms can function
outside the Access window, and can be used with the MoveSize method.
I can't remember the last time I used SetWindowPos (if at all) since I'll
always use standard built-in VBA code when possible. There is also a
MoveSize action which runs from a macro. I never use macros any more because
they are harder to maintain and have no error handling.
--
Arvin Meyer, MCP, MVP
Free MS-Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com