Solved

Another minimize tray ?

Posted on 1998-09-22
4
215 Views
Last Modified: 2010-04-30
I got it all down except, when i right click on the icon in the tray and click open, the form wont come back up, refer to my other question, Minimize In Tray for the other things that i have said, it will help to answer this one!
0
Comment
Question by:cdc_sickle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Accepted Solution

by:
BergJC earned 50 total points
ID: 1436149
Before you use the Form1.Show command to bring your form back, set it's .WINDOWSTATE property to zero (or 2, if you want the form to be maximized). That should bring it back for you.
0
 

Author Comment

by:cdc_sickle
ID: 1436150
Thanx man, just wish you could have answerd that in my last question cause this costed another 50 points on me.
0
 
LVL 2

Expert Comment

by:ChrisK
ID: 1436151
Just a side note, checking if the size is 0/0 to hide the form is not the best method.  Simply check to see if the windows state is 0 1 or 2.  1 is minimized, if it's 1, hide the form...otherwise if you use the 0/0 detection you can't use the CLOSE button on your form.
0
 

Expert Comment

by:Freshprince
ID: 4314577
     
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question