Raziel Posted February 25, 2004 Posted February 25, 2004 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... Quote
Beave Posted February 25, 2004 Posted February 25, 2004 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. Quote
Beave Posted February 25, 2004 Posted February 25, 2004 sorry, thats vb not c ++, it should help you anyway Quote
Administrators PlausiblyDamp Posted February 25, 2004 Administrators Posted February 25, 2004 you may want to have a look at Divil's Site for some nice controls Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Raziel Posted February 26, 2004 Author Posted February 26, 2004 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... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.