Click here to Skip to main content
16,020,261 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

Anyone that have any tip about following....

I have made a customcontrol. When i make this controls DockStyle = Fill and set my form to FormBorderStyle = None, the control covers the entire form, and thats what i want.

Now the problem.....

How can i make the form resize/move ?

Any ideas ?

With Kind Regards

Heino
Posted

1 solution

If you have no border, you have to code it yourself. I would probably put some sort of visual que on the form that tells the user, "Click me to move (or resize) the form". At that point, you may as well just give the form it's border and titlebar back so you don't have to perform the equivalent of coding gymnastics to provide what would otherwise be standard (and user-recognizable) functionality.
 
Share this answer
 
Comments
Sandeep Mewara 26-Aug-10 13:20pm    
Comment from OP: i was afraid for that kind of answer.....

Heino

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