I am using the SetWindowPos API function on startup of my database to, well basically resize and position my database window on my screen. Everything is working pretty well with it, but I have 2 exceptions...
First, I guess it's kinda built into the function, but after running the function I cannot resize my DB window. I can maxamize or minimize the window, but am locked out of resizing the window to a different size. Is there any way to remove the resize "lockout" when using the function, BUT all along keeping the resizing and positioning that the function preforms? (Remember, I am using it to resize the database window, not any form or report windows.)
Second, I use the function to resize my DB window to a fairly small size (about 2" tall by 6" wide). With this size, whenever I open a report in print preview view, the reports' window size is extremely small ( about 2" square). This only happens with reports in Preview view. Reports in Report view and any/all forms open the correct size and I am able to resize those the regular way if need be.
A little more info... ALL of my forms and reports are set to popup except my main navigational form (the one that opens on startup). I have tried to use the movesize command on open of the reports, but that seems to do nothing.
Any suggestions to be able to resize the main window and open the reports in a larger window??
First, I guess it's kinda built into the function, but after running the function I cannot resize my DB window. I can maxamize or minimize the window, but am locked out of resizing the window to a different size. Is there any way to remove the resize "lockout" when using the function, BUT all along keeping the resizing and positioning that the function preforms? (Remember, I am using it to resize the database window, not any form or report windows.)
Second, I use the function to resize my DB window to a fairly small size (about 2" tall by 6" wide). With this size, whenever I open a report in print preview view, the reports' window size is extremely small ( about 2" square). This only happens with reports in Preview view. Reports in Report view and any/all forms open the correct size and I am able to resize those the regular way if need be.
A little more info... ALL of my forms and reports are set to popup except my main navigational form (the one that opens on startup). I have tried to use the movesize command on open of the reports, but that seems to do nothing.
Any suggestions to be able to resize the main window and open the reports in a larger window??