Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i want to make a project in which multiple forms can be viewed at runtime and and on placing cursor one of the forms that form will got maximize automatically
please help
if there is any code for face recognition password it will be more helpful please thanks in advance
Posted
Comments
Andrew Piotrowski 29-Dec-11 11:20am    
More info - Step by Step. Only VB.NET or can it be also a C# example ?
Sergey Alexandrovich Kryukov 29-Dec-11 11:27am    
Isn't that enough already? "code for face recognition password"... maximizing on cursor motion? Do you think it can be considered?

I answered -- please see if you are curious.
--SA
Sergey Alexandrovich Kryukov 29-Dec-11 11:25am    
Why? why?!
--SA
Sergey Alexandrovich Kryukov 29-Dec-11 11:27am    
What it is supposed to mean: "code for face recognition password"?..
--SA

You want to violate commonly expected UI style, and very brutally. The only help you can get is: stop wanting it. How to stop it? There are different techniques: yoga, meditation… :-)

Anyone can easily maximize any Window using standard method. All users expect it. If your form layout can assume different sizes but is only usable at maximum size, it means that the UI design is all broken. The design should be size-tolerant, which is not too hard to achieve. You should not use this wrong UI conception.

You will find some detail in my past solutions:
Zom Out malfunctions when Screen resolution changes[^],
GUI Apperance - C#.Net[^],
a simple code sample: how to dock button so that it can adjust with the form[^].

—SA
 
Share this answer
 
Comments
[no name] 29-Dec-11 11:32am    
Maybe it would be a good experience to try it (the UI violation) and to recognize after the first maximize it's over and the next (strange) step has to be worked out.

Anyway a 5 from a cp noob
Regards
Sergey Alexandrovich Kryukov 29-Dec-11 11:41am    
Of course getting one's horns broken by ramming the problem has its value. The opposite principle is to learn on mistakes of someone else, not on own mistakes. Some wise combination of these opposites wins. :-)
Thank you.
--SA
Wendelius 29-Dec-11 11:45am    
Well reasoned, deserves a 5.
Sergey Alexandrovich Kryukov 29-Dec-11 11:47am    
Thank you, Mika.
--SA
thatraja 29-Dec-11 15:16pm    
5!
For the maximization of the form, you could try using MouseEnter[^] event and set the WindowState[^] property to maximized.

About the face recognition, one very good article: Face Detection C++ Library with Skin and Motion Analysis[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 29-Dec-11 11:38am    
A comment on first sentence: why? Did you see my answer?
I voted 4.
--SA
Wendelius 29-Dec-11 11:45am    
Yep, just read it. That's a good question and thought about it when answering. I didn't however question the idea since there's basically no background info about the project. But I must admit that it would have been a good idea to shake a little bit :)
thatraja 29-Dec-11 15:17pm    
Agree with SA. So 4 from me
Wendelius 29-Dec-11 15:30pm    
Yes, so do I. But... what's written is written so I think it's not fair to change the answer. This conversation chain clearly shows that the mechanism is working but isn't actually feasible.

Thanks for your comment :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900