Solved

shrink 'n grow app

Posted on 2006-10-23
6
381 Views
Last Modified: 2008-02-01
I'm curious how difficult this would be - I haven't started anything on it, but it sounds like a possible route I might like to go with a particular app.
I'm picturing a small 2x2 transparent form that when it receives a mouse-over, it grows to a  much larger/workable form.

Presumably, I'd have to take into account control sizes, etc - or does the dock or anchor property allow me to neglect worrying about all that?
0
Comment
Question by:sirbounty
6 Comments
 
LVL 10

Assisted Solution

by:gangwisch
gangwisch earned 35 total points
ID: 17789836
if you use the splitcontainer and dock it as fill you should have no problem with accomplishing this!
0
 
LVL 10

Expert Comment

by:Kinger247
ID: 17789973
So you want an application form to sit somewhere on your desktop in a sort of minimised state.
I smaller version of the maximised application ?

Then, when the user moves their mouse over this small application, it spans out to a fully maximised application ..?

It this what you need ?
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 90 total points
ID: 17790013
You could just use two forms...hide one and show the other...reverse as necessary...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 10

Expert Comment

by:Kinger247
ID: 17790074
Yes, sounds alot of work for something cosmetic. Unless its a simple form with a few textbox's.
0
 
LVL 67

Author Comment

by:sirbounty
ID: 17790204
Yes - I'm afraid it would be a bit complicated - much more than a couple of text boxes.
I was thinking some sort of 'animated' growth - but if that's too complicated, I can probably go for the dual-form swap idea.  I was just curious...thanx for the responses.
0
 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 17791019
You can "animate" it shrinking/growing using a dashed rectangle via ControlPaint.DrawReversibleFrame().

This example does a similiar thing:
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21722899.html
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now