Connecting Tech Pros Worldwide Help | Site Map

Popup window is hiding whole screen

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 02:56 PM
apgoodb@yahoo.com
Guest
 
Posts: n/a
Default Popup window is hiding whole screen

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?


  #2  
Old November 13th, 2005, 02:57 PM
Trevor Best
Guest
 
Posts: n/a
Default Re: Popup window is hiding whole screen

apgoodb@yahoo.com wrote:[color=blue]
> 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?
>[/color]

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 :-)
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.