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

Popup window is hiding whole screen

P: n/a
I have an application that uses various popup forms. All of these
forms are maximized when open. When they open you can see the windows
start button and quicklaunch toolbar, but after a minute or so, the
popup form takes over the whole screen and the user can't get to the
quicklaunch toolbar without closing down. Any ideas what is causing
this?

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
ap*****@yahoo.com wrote:
I have an application that uses various popup forms. All of these
forms are maximized when open. When they open you can see the windows
start button and quicklaunch toolbar, but after a minute or so, the
popup form takes over the whole screen and the user can't get to the
quicklaunch toolbar without closing down. Any ideas what is causing
this?


Putting windows in the right place or Z-Order is not one of Access'
fortés is it?

Make it as big without maximizing
---- code start ----
' not tested yet.
Declare Function WinAPI_MoveWindow Lib "user32" Alias "MoveWindow"
(ByVal hWnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As
Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long

Sub MaxForm(pfrm As Form)
Const SM_CXMAXIMIZED = 61
Const SM_CYMAXIMIZED = 62

WinAPI_MoveWindow(pfrm.hWnd, 0, 0, SM_CXMAXIMIZED , SM_CYMAXIMIZED , 1)
End Sub
---- code end ----

or...

Use Windows key (or Ctrl+Esc) to get to the task bar :-)
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.