Sizing Windows via VBA

  • Thread starter Thread starter TC
  • Start date Start date
T

TC

You used to be able to size the access main window with the win32 API
function SetWindowPos.

Not sure if that's the best way to do it these days, though.

HTH,
TC
 
I have an Access 2000 form displaying a button that allows
the user to view a .tif image via Quick View Plus. I would
like to have a button that would resize the Access window
to display the minimum necessary to browse the data, and
to size the QVP window to the max remaining to view
the .tif image. However, I haven't been able to find the
VBA command that will size the Access window. I have only
found DoCmd.MoveSize, which only resizes the form within
the MS window. Likewise, inserting the QVP twip parameters
into the Shell function doesn't work to size the QVP
window. If anyone can point me in the direction of the
command that will size the Access window I would be
grateful; any tips regarding the Shell function would also
be most appreciated.
Thanks much!

-John McEnany
 
Back
Top