Valhalla Legends Forums Archive | .NET Platform | [C++.NET] GUI Outline

AuthorMessageTime
bethra
Ok, I'm doing a bot in C++.NET with a GUI (forms and such).  During lunch I was in the library brainstorming on how I am going to setup my headers and classes.  I want to get your help/opinions/critism.

Here is the outline that I came up with:
[quote]
// header and class outline

// header with form button classes and events
Buttons.h
- btnSend
- btnWhisper

// header with form listbox classes and events
ListBoxes.h
- lstChannel

// header with form label classes and events
Labels.h
- lblChannel

// header with form textbox classes and events
TextBoxes.h
- txtChat
- txtSend

// header with form menu classes and events
Menus.h
- mnuMain
- mnuSettings

// header with chat event classes and events
ChatEvents.h
- clsWhisper
- clsSend
- ... etc.
[/quote]

Now these are just some of the headers and classes.  I'm sure I will be adding more and such.  However, I feel that these are some of the more important ones when setting up my GUI (forms and such).

Help? Opinions? Critism?


-Sorc.Polgara
January 19, 2005, 5:58 PM
Myndfyr
You're going to have 6 separate windows?  For what?
January 19, 2005, 6:06 PM
bethra
[quote author=MyndFyre link=topic=10244.msg95749#msg95749 date=1106158004]
You're going to have 6 separate windows?  For what?
[/quote]

Errrrr nonononono,  I screwed up, I think I should remove the "frm" from the name due to what you just said lol.

Basically each header file take care of a different control.  i.e "Buttons.h" has classes and events for the various button controls.
January 19, 2005, 9:39 PM
Myndfyr
Why aren't you just using the classes in System::Windows::Forms?
January 19, 2005, 10:06 PM
bethra
[quote author=MyndFyre link=topic=10244.msg95774#msg95774 date=1106172382]
Why aren't you just using the classes in System::Windows::Forms?
[/quote]

errrrrrrrr well these header files contain my own classes for the controls I am using..........

ok... well just nvm then, forget it.  Close prz.
January 20, 2005, 3:19 AM
bethra
[quote author=Sorc.Polgara link=topic=10244.msg95852#msg95852 date=1106191183]
[quote author=MyndFyre link=topic=10244.msg95774#msg95774 date=1106172382]
Why aren't you just using the classes in System::Windows::Forms?
[/quote]

errrrrrrrr well these header files contain the info for the controls I am using... location... size... FormBorderStyle... info about the controls... =\

ok... well nvm then, just forget it.  Close prz.[/quote]
January 20, 2005, 3:22 AM
St0rm.iD
I get what you mean, and that's a bad idea. You probably don't care what type of control it is...you probably care more about _what_ it does conceptually.
January 20, 2005, 8:38 PM

Search