How can I maximize ACC2000 database window 
Author Message
 How can I maximize ACC2000 database window

I have a forms OnTiimer event checking for certain criteria within the
database.  When that criteria is met, the event opens a form in modal mode
so the user has to action it prior to doing anything else.  The problem is
that the users are able to minimize Access therefore they don't see the form
window when it pops-up.

Is there a way that I can get an event to check if Access is minimised and
maximise it if it is?

Thanks.
Matt.



Sun, 15 May 2005 19:16:41 GMT  
 How can I maximize ACC2000 database window
Why don't you just maximize the Access window using the DoCmd.RunCommand
acCmdAppMaximize regardless (i.e. not bothering with testing whether it is
minmized or not)?

Alternatively, I think there is an API function "IsIconic" that can tell you
whether the (Access Appln) window is minimized or not.  Unfortunately, I
don't have the declaration for the IsIconic fn at the moment.

--
HTH
Van T. Dinh
MVP (Access)


Quote:
> I have a forms OnTiimer event checking for certain criteria within the
> database.  When that criteria is met, the event opens a form in modal mode
> so the user has to action it prior to doing anything else.  The problem is
> that the users are able to minimize Access therefore they don't see the
form
> window when it pops-up.

> Is there a way that I can get an event to check if Access is minimised and
> maximise it if it is?

> Thanks.
> Matt.



Sun, 15 May 2005 22:39:14 GMT  
 How can I maximize ACC2000 database window
Thanks Van - works a treat (and so simple !!)

Matt.



Quote:
> Why don't you just maximize the Access window using the DoCmd.RunCommand
> acCmdAppMaximize regardless (i.e. not bothering with testing whether it is
> minmized or not)?

> Alternatively, I think there is an API function "IsIconic" that can tell
you
> whether the (Access Appln) window is minimized or not.  Unfortunately, I
> don't have the declaration for the IsIconic fn at the moment.

> --
> HTH
> Van T. Dinh
> MVP (Access)



> > I have a forms OnTiimer event checking for certain criteria within the
> > database.  When that criteria is met, the event opens a form in modal
mode
> > so the user has to action it prior to doing anything else.  The problem
is
> > that the users are able to minimize Access therefore they don't see the
> form
> > window when it pops-up.

> > Is there a way that I can get an event to check if Access is minimised
and
> > maximise it if it is?

> > Thanks.
> > Matt.



Mon, 16 May 2005 06:41:49 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Maximize Database Window from icon

2. maximizing a database window

3. Acc2000 on Windows XP Connection Problem

4. Maximizing an MDI Child window Maximizes all MDI Child Windows.

5. How to hide the maximize/restore and close-button on a maximized form

6. Finding non-maximized size when maximized - getwindowplacement api or .net managed repacement

7. 'Restore Window' button on maximized Form

8. Hide Close, Minimize and Maximize at top of access window

9. How to Maximize the Access Window??

10. How to start Access200 in a maximized window

11. Is window Maximized?

12. Maximize Application Window

 

 
Powered by phpBB® Forum Software