Resize Access Application Window

M

Mrinal Das

I'm resizing application window of my Access97 application using SetWindowPos
API call on launch of the application. It used to work perfectly on WinNT
workstation. Recently I migrated the app to XP and it started to resize to
full screen unexpectedly if the focus is moved to other application. The
application window though resizes to required size in the beginning. But if I
move focus to other app while it pulls data from split backend database the
unexpected resizing occurs. Any help would be really appreciated.
 
B

BruceS

Mrinal,

This was answered earlier today for me. See about 20 messages down, "Force
Database Window Size".

I'm running Access 2003 and Win XP, but the code in the KB article

http://support.microsoft.com/kb/210085

worked great for me.

May be that the API changed between NT and XP...

Bruce
 
M

Mrinal Das

Thanks Bruce. Though the article wasn't of great help as I was already using
the API call. But I resolved my problem by restoring the application window
before forcing it to my required size.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top