• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

shrink 'n grow app

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
sirbounty
Asked:
sirbounty
2 Solutions
 
gangwischCommented:
if you use the splitcontainer and dock it as fill you should have no problem with accomplishing this!
0
 
Kinger247Commented:
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
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
You could just use two forms...hide one and show the other...reverse as necessary...
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
Kinger247Commented:
Yes, sounds alot of work for something cosmetic. Unless its a simple form with a few textbox's.
0
 
sirbountyAuthor Commented:
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
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now