Solved

shrink 'n grow app

Posted on 2006-10-23
6
386 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

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…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

713 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