Solved

shrink 'n grow app

Posted on 2006-10-23
6
385 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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