Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi,

 

i'm wanting to make an icon/cursor drawing program, and i want to make it with a cool GUI, so i was thinking that it must have docking toolbars instead of regular toolbars (like the ones VB.NET and C# offer) and menus like the ones that VS.NET uses, so i wanted to know if it's able to do with any of the mentioned languages, or if i'll have to make it on rude C++...

 

if so, how can i start, could you give me the basis??

 

thanks in advance...

Posted

just put the toolbar on another form. set that form to sizableformwindow.

 

You can put something like this in that form to make it dock

 

Private Sub moveForm(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.MouseMove

Dim s As Size

If Me.Location.X < mainFrm.Location.x + 40 Then

Me.Location = mainFrm.Location

s.Width = mainFrm.Size.width

s.Height = 20

Me.Size = s

End If

End Sub

 

When the forms location get close to the other form then it will change its location and the size to fit main form. Might need to tweak it abit, but i hope you get the jist of it.

Posted

ok that's a good starting point, so now the question'd be

 

Which class should i inherit from to get a control, similar to a form but whithout the titlebar?

 

PD: Beave, that's right i wanted some VB.NET code or C# code to not do it on C++, IT'S A HELL...

 

i prefer to do it on C# 'cause it seems like C++ and i like that language more than VB

 

PD2: Could you get me a link to an Interface tutorial, i'm planinng to do a Control library...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...