By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,587 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,587 IT Pros & Developers. It's quick & easy.

How to get a Form pointer to the parent MS Access window?

P: n/a
GetActiveWindow() returns a Long... So I'm guessing that's not it.

I've got a routine that I can feed a Form pointer to and which looks up the
user's last size/position for that form and sets the form to same.

Just added an option to have the app open this particular window instead of the
"Home" window at startup. If/when that option is invoked, I'd like to maximize
the window in question and the re-size the resulting MS Access parent window to
what the user had the child window set to the last time it was used (stored in
the .INI file already...).
--
PeteCresswell
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Sat, 18 Dec 2004 13:51:37 GMT, "(Pete Cresswell)" <x@y.z> wrote:
GetActiveWindow() returns a Long... So I'm guessing that's not it.

I've got a routine that I can feed a Form pointer to and which looks up the
user's last size/position for that form and sets the form to same.

Just added an option to have the app open this particular window instead of the
"Home" window at startup. If/when that option is invoked, I'd like to maximize
the window in question and the re-size the resulting MS Access parent window to
what the user had the child window set to the last time it was used (stored in
the .INI file already...).


IIRC

Application.hWndAccessApp

works since Acess 2000.

HTH
Matthias Kläy
--
www.kcc.ch
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.