By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

form shape?

P: n/a
hi, i kno u can create different shaped buttons and such, but is there any
way to create a different shaped form? thanks
--
-iwdu15
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Try this simple example from a book, User Interfaces in VB.Net by Matthew
MacDonald (Apress - ISBN 1-59059-044-954995).

Imports System.Drawing.Drawing2D

Private Sub Form1_Load(ByVal sender as System.Object, ByVal e as
System.EventArgs) Handles MyBase.Load

Dim Path as New Graphics
Path.Add(0, 0, Me.Width, Me.Height)
Me.Region = New Region(Path)

End Sub

HTH, Phil

"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
hi, i kno u can create different shaped buttons and such, but is there any
way to create a different shaped form? thanks
--
-iwdu15

Nov 21 '05 #2

P: n/a
yep possible works with images and defining the client area
http://msdn.microsoft.com/library/de...lStudioNET.asp

"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
hi, i kno u can create different shaped buttons and such, but is there any
way to create a different shaped form? thanks
--
-iwdu15

Nov 21 '05 #3

P: n/a
Hi,

http://www.windowsformsdatagridhelp....8-a2eda88e06ee

Ken
------------------
"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
hi, i kno u can create different shaped buttons and such, but is there any
way to create a different shaped form? thanks
--
-iwdu15

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.