Re: [hlcoders] I need an example of adding tab control for vgui
Thanks Alfred, I figured it was like that but thought I should ask before I call new 1000 times a in row, lol. On 4/29/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > Have a look at memoverride.cpp, we use that file along with code in > tier0.dll to manage (and track) our own heap allocations (and to have a > single heap for the entire process, rather than one per dll). > > - Alfred > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of James > Williams > Sent: Friday, April 29, 2005 7:54 AM > To: hlcoders@list.valvesoftware.com > Subject: Re: [hlcoders] I need an example of adding tab control for vgui > > On 4/29/05, Childe Roland <[EMAIL PROTECTED]> wrote: > > new is a compiler command. I'm pretty sure that you have to call > > delete for everything that you create with new. Someone please > > correct me if I'm wrong about the SDK. > > Not exactly... new is actually an operator, which can be overloaded like > any other. Most projects that use their own memory managers overload it. > I'd be quite surprised if HL2 didn't. > > -- > -James "Corvidae" Williams ([EMAIL PROTECTED]) > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] I need an example of adding tab control for vgui
Have a look at memoverride.cpp, we use that file along with code in tier0.dll to manage (and track) our own heap allocations (and to have a single heap for the entire process, rather than one per dll). - Alfred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Williams Sent: Friday, April 29, 2005 7:54 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] I need an example of adding tab control for vgui On 4/29/05, Childe Roland <[EMAIL PROTECTED]> wrote: > new is a compiler command. I'm pretty sure that you have to call > delete for everything that you create with new. Someone please > correct me if I'm wrong about the SDK. Not exactly... new is actually an operator, which can be overloaded like any other. Most projects that use their own memory managers overload it. I'd be quite surprised if HL2 didn't. -- -James "Corvidae" Williams ([EMAIL PROTECTED]) ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] I need an example of adding tab control for vgui
Do NOT call "delete" directly on VGUI2 panels, use the MarkForDeletion() member function instead to free panels. You should use "new" to create panels. You also do not have to explicitly delete panels on exit, when VGUI2 shuts down it will delete any allocated panels. - Alfred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Childe Roland Sent: Friday, April 29, 2005 7:00 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] I need an example of adding tab control for vgui new is a compiler command. I'm pretty sure that you have to call delete for everything that you create with new. Someone please correct me if I'm wrong about the SDK. On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > Ok, got everything working! This is a lot eaiser than hl1! One more > quick question as i am now beginning my vgui development. the keyword > "new" is overloaded correct? In other words, I dont need to call > delete for vgui controls like frames panels and whatever? > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > oh nm, i got it, i guess i needed the cpp file too > > > > #include "D:\\src\\vgui2\\controls\\PropertySheet.cpp" > > > > you need to define everyhting in the headers plz! or maybe im an > > idiot, either way! > > > > g... > > > > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > > PropertySheet > > > > > > Doest seem to like it, I have tried a bunch of different header > > > files #include "prsht.h" > > > #include > > > > > > doest seem to work > > > which headers does this control require? > > > > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > > > thx guys, that was quick > > > > > > > > On 4/29/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > > > > > Look at PropertySheet and PropertyPage, they are provide a > > > > > tabbed interface. > > > > > > > > > > - Alfred > > > > > > > > > > -Original Message- > > > > > From: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > > > Ian Warwick > > > > > Sent: Thursday, April 28, 2005 11:58 PM > > > > > To: hlcoders@list.valvesoftware.com > > > > > Subject: RE: [hlcoders] I need an example of adding tab > > > > > control for vgui > > > > > > > > > > You could use an array of buttons on a panel, you could > > > > > possibly use one of those cool handy vector collection type > > > > > thingies for the array so you can easily add new tabs to the > > > > > strip, all you would need to do is handle a click event to > > > > > change the background of a button (to make it look > > > > > selected) and then update a member var to store which one is > > > > > selected, this should be very simple to do. > > > > > > > > > > -Original Message- > > > > > From: Heritage [mailto:[EMAIL PROTECTED] > > > > > Sent: 29 April 2005 07:45 > > > > > To: hlcoders@list.valvesoftware.com > > > > > Subject: [hlcoders] I need an example of adding tab control > > > > > for vgui > > > > > > > > > > I could not find any examples in the code, I just need the > > > > > name of the control and maybe an example of adding tab pages to it. > > > > > > > > > > thx > > > > > > > > > > ___ > > > > > To unsubscribe, edit your list preferences, or view the list > > > > > archives, please visit: > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > == > > > > > == FusionPeople Ltd may monitor outgoing and incoming > > > > > emails and other telecommunications on its email and > > > > > telecommunication systems. > > > > > > > > > > == > > > > > == This email and any files transmitted with it are > > > > > confidential and intended solely for the use of the individual > > > > > or entity to whom they are addressed. If you have received > > > > > this email in error you
Re: [hlcoders] I need an example of adding tab control for vgui
On 4/29/05, Childe Roland <[EMAIL PROTECTED]> wrote: > new is a compiler command. I'm pretty sure that you have to call > delete for everything that you create with new. Someone please > correct me if I'm wrong about the SDK. Not exactly... new is actually an operator, which can be overloaded like any other. Most projects that use their own memory managers overload it. I'd be quite surprised if HL2 didn't. -- -James "Corvidae" Williams ([EMAIL PROTECTED]) ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I need an example of adding tab control for vgui
new is a compiler command. I'm pretty sure that you have to call delete for everything that you create with new. Someone please correct me if I'm wrong about the SDK. On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > Ok, got everything working! This is a lot eaiser than hl1! One more > quick question as i am now beginning my vgui development. the keyword > "new" is overloaded correct? In other words, I dont need to call > delete for vgui controls like frames panels and whatever? > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > oh nm, i got it, i guess i needed the cpp file too > > > > #include "D:\\src\\vgui2\\controls\\PropertySheet.cpp" > > > > you need to define everyhting in the headers plz! or maybe im an > > idiot, either way! > > > > g... > > > > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > > PropertySheet > > > > > > Doest seem to like it, I have tried a bunch of different header files > > > #include "prsht.h" > > > #include > > > > > > doest seem to work > > > which headers does this control require? > > > > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > > > thx guys, that was quick > > > > > > > > On 4/29/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > > > > > Look at PropertySheet and PropertyPage, they are provide a tabbed > > > > > interface. > > > > > > > > > > - Alfred > > > > > > > > > > -Original Message- > > > > > From: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED] On Behalf Of Ian Warwick > > > > > Sent: Thursday, April 28, 2005 11:58 PM > > > > > To: hlcoders@list.valvesoftware.com > > > > > Subject: RE: [hlcoders] I need an example of adding tab control for > > > > > vgui > > > > > > > > > > You could use an array of buttons on a panel, you could possibly use > > > > > one > > > > > of those cool handy vector collection type thingies for the array so > > > > > you > > > > > can easily add new tabs to the strip, all you would need to do is > > > > > handle > > > > > a click event to change the background of a button (to make it look > > > > > selected) and then update a member var to store which one is selected, > > > > > this should be very simple to do. > > > > > > > > > > -Original Message- > > > > > From: Heritage [mailto:[EMAIL PROTECTED] > > > > > Sent: 29 April 2005 07:45 > > > > > To: hlcoders@list.valvesoftware.com > > > > > Subject: [hlcoders] I need an example of adding tab control for vgui > > > > > > > > > > I could not find any examples in the code, I just need the name of the > > > > > control and maybe an example of adding tab pages to it. > > > > > > > > > > thx > > > > > > > > > > ___ > > > > > To unsubscribe, edit your list preferences, or view the list archives, > > > > > please visit: > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > > > > telecommunications on its email and telecommunication systems. > > > > > > > > > > > > > > > This email and any files transmitted with it are confidential and > > > > > intended solely for the use of the individual or entity to whom they > > > > > are > > > > > addressed. If you have received this email in error you are on notice > > > > > of > > > > > its status. Please notify us immediately by return email if you are > > > > > not > > > > > the intended recipient and delete this message. Please note that any > > > > > views or opinions presented in this email are solely those of the > > > > > author > > > > > and do not necessarily represent those of FusionPeople Ltd. > > > > > > > > > > FusionPeople Ltd may monitor outgoing and incoming emails
Re: [hlcoders] I need an example of adding tab control for vgui
-- [ Picked text/plain from multipart/alternative ] You don't need to include all the controls seperately just ensure vgui_controls.lib is in your project (found in lib/public). On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > Ok, got everything working! This is a lot eaiser than hl1! One more > quick question as i am now beginning my vgui development. the keyword > "new" is overloaded correct? In other words, I dont need to call > delete for vgui controls like frames panels and whatever? > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > oh nm, i got it, i guess i needed the cpp file too > > > > #include "D:\\src\\vgui2\\controls\\PropertySheet.cpp" > > > > you need to define everyhting in the headers plz! or maybe im an > > idiot, either way! > > > > g... > > > > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > > PropertySheet > > > > > > Doest seem to like it, I have tried a bunch of different header files > > > #include "prsht.h" > > > #include > > > > > > doest seem to work > > > which headers does this control require? > > > > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > > > thx guys, that was quick > > > > > > > > On 4/29/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > > > > > Look at PropertySheet and PropertyPage, they are provide a tabbed > > > > > interface. > > > > > > > > > > - Alfred > > > > > > > > > > -Original Message- > > > > > From: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED] On Behalf Of Ian > Warwick > > > > > Sent: Thursday, April 28, 2005 11:58 PM > > > > > To: hlcoders@list.valvesoftware.com > > > > > Subject: RE: [hlcoders] I need an example of adding tab control > for vgui > > > > > > > > > > You could use an array of buttons on a panel, you could possibly > use one > > > > > of those cool handy vector collection type thingies for the array > so you > > > > > can easily add new tabs to the strip, all you would need to do is > handle > > > > > a click event to change the background of a button (to make it > look > > > > > selected) and then update a member var to store which one is > selected, > > > > > this should be very simple to do. > > > > > > > > > > -Original Message- > > > > > From: Heritage [mailto:[EMAIL PROTECTED] > > > > > Sent: 29 April 2005 07:45 > > > > > To: hlcoders@list.valvesoftware.com > > > > > Subject: [hlcoders] I need an example of adding tab control for > vgui > > > > > > > > > > I could not find any examples in the code, I just need the name of > the > > > > > control and maybe an example of adding tab pages to it. > > > > > > > > > > thx > > > > > > > > > > ___ > > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > > please visit: > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > ___ > > > > > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > > > > > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I need an example of adding tab control for vgui
Ok, got everything working! This is a lot eaiser than hl1! One more quick question as i am now beginning my vgui development. the keyword "new" is overloaded correct? In other words, I dont need to call delete for vgui controls like frames panels and whatever? On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > oh nm, i got it, i guess i needed the cpp file too > > #include "D:\\src\\vgui2\\controls\\PropertySheet.cpp" > > you need to define everyhting in the headers plz! or maybe im an > idiot, either way! > > g... > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > PropertySheet > > > > Doest seem to like it, I have tried a bunch of different header files > > #include "prsht.h" > > #include > > > > doest seem to work > > which headers does this control require? > > > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > > thx guys, that was quick > > > > > > On 4/29/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > > > > Look at PropertySheet and PropertyPage, they are provide a tabbed > > > > interface. > > > > > > > > - Alfred > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED] On Behalf Of Ian Warwick > > > > Sent: Thursday, April 28, 2005 11:58 PM > > > > To: hlcoders@list.valvesoftware.com > > > > Subject: RE: [hlcoders] I need an example of adding tab control for vgui > > > > > > > > You could use an array of buttons on a panel, you could possibly use one > > > > of those cool handy vector collection type thingies for the array so you > > > > can easily add new tabs to the strip, all you would need to do is handle > > > > a click event to change the background of a button (to make it look > > > > selected) and then update a member var to store which one is selected, > > > > this should be very simple to do. > > > > > > > > -Original Message- > > > > From: Heritage [mailto:[EMAIL PROTECTED] > > > > Sent: 29 April 2005 07:45 > > > > To: hlcoders@list.valvesoftware.com > > > > Subject: [hlcoders] I need an example of adding tab control for vgui > > > > > > > > I could not find any examples in the code, I just need the name of the > > > > control and maybe an example of adding tab pages to it. > > > > > > > > thx > > > > > > > > ___ > > > > To unsubscribe, edit your list preferences, or view the list archives, > > > > please visit: > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > > > telecommunications on its email and telecommunication systems. > > > > > > > > > > > > This email and any files transmitted with it are confidential and > > > > intended solely for the use of the individual or entity to whom they are > > > > addressed. If you have received this email in error you are on notice of > > > > its status. Please notify us immediately by return email if you are not > > > > the intended recipient and delete this message. Please note that any > > > > views or opinions presented in this email are solely those of the author > > > > and do not necessarily represent those of FusionPeople Ltd. > > > > > > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > > > telecommunications on its email and telecommunication systems. > > > > > > > > === > > > > This message has been checked for all known viruses by MessageLabs, The > > > > service does not scan any password protected or encrypted attachments. > > > > FusionPeople Ltd accepts no liability for any damage caused by any virus > > > > transmitted by this email. > > > > > > > > ___ > > > > To unsubscribe, edit your list preferences, or view the list archives, > > > > please visit: > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > ___ > > > > To unsubscribe, edit your list preferences, or view the list archives, > > > > please visit: > > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I need an example of adding tab control for vgui
oh nm, i got it, i guess i needed the cpp file too #include "D:\\src\\vgui2\\controls\\PropertySheet.cpp" you need to define everyhting in the headers plz! or maybe im an idiot, either way! g... On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > PropertySheet > > Doest seem to like it, I have tried a bunch of different header files > #include "prsht.h" > #include > > doest seem to work > which headers does this control require? > > On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > > thx guys, that was quick > > > > On 4/29/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > > > Look at PropertySheet and PropertyPage, they are provide a tabbed > > > interface. > > > > > > - Alfred > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Ian Warwick > > > Sent: Thursday, April 28, 2005 11:58 PM > > > To: hlcoders@list.valvesoftware.com > > > Subject: RE: [hlcoders] I need an example of adding tab control for vgui > > > > > > You could use an array of buttons on a panel, you could possibly use one > > > of those cool handy vector collection type thingies for the array so you > > > can easily add new tabs to the strip, all you would need to do is handle > > > a click event to change the background of a button (to make it look > > > selected) and then update a member var to store which one is selected, > > > this should be very simple to do. > > > > > > -Original Message- > > > From: Heritage [mailto:[EMAIL PROTECTED] > > > Sent: 29 April 2005 07:45 > > > To: hlcoders@list.valvesoftware.com > > > Subject: [hlcoders] I need an example of adding tab control for vgui > > > > > > I could not find any examples in the code, I just need the name of the > > > control and maybe an example of adding tab pages to it. > > > > > > thx > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > > telecommunications on its email and telecommunication systems. > > > > > > > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they are > > > addressed. If you have received this email in error you are on notice of > > > its status. Please notify us immediately by return email if you are not > > > the intended recipient and delete this message. Please note that any > > > views or opinions presented in this email are solely those of the author > > > and do not necessarily represent those of FusionPeople Ltd. > > > > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > > telecommunications on its email and telecommunication systems. > > > > > > === > > > This message has been checked for all known viruses by MessageLabs, The > > > service does not scan any password protected or encrypted attachments. > > > FusionPeople Ltd accepts no liability for any damage caused by any virus > > > transmitted by this email. > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > ___ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I need an example of adding tab control for vgui
PropertySheet Doest seem to like it, I have tried a bunch of different header files #include "prsht.h" #include doest seem to work which headers does this control require? On 4/29/05, Heritage <[EMAIL PROTECTED]> wrote: > thx guys, that was quick > > On 4/29/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > > Look at PropertySheet and PropertyPage, they are provide a tabbed > > interface. > > > > - Alfred > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Ian Warwick > > Sent: Thursday, April 28, 2005 11:58 PM > > To: hlcoders@list.valvesoftware.com > > Subject: RE: [hlcoders] I need an example of adding tab control for vgui > > > > You could use an array of buttons on a panel, you could possibly use one > > of those cool handy vector collection type thingies for the array so you > > can easily add new tabs to the strip, all you would need to do is handle > > a click event to change the background of a button (to make it look > > selected) and then update a member var to store which one is selected, > > this should be very simple to do. > > > > -Original Message- > > From: Heritage [mailto:[EMAIL PROTECTED] > > Sent: 29 April 2005 07:45 > > To: hlcoders@list.valvesoftware.com > > Subject: [hlcoders] I need an example of adding tab control for vgui > > > > I could not find any examples in the code, I just need the name of the > > control and maybe an example of adding tab pages to it. > > > > thx > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > telecommunications on its email and telecommunication systems. > > > > > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they are > > addressed. If you have received this email in error you are on notice of > > its status. Please notify us immediately by return email if you are not > > the intended recipient and delete this message. Please note that any > > views or opinions presented in this email are solely those of the author > > and do not necessarily represent those of FusionPeople Ltd. > > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > > telecommunications on its email and telecommunication systems. > > > > === > > This message has been checked for all known viruses by MessageLabs, The > > service does not scan any password protected or encrypted attachments. > > FusionPeople Ltd accepts no liability for any damage caused by any virus > > transmitted by this email. > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] I need an example of adding tab control for vgui
thx guys, that was quick On 4/29/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: > Look at PropertySheet and PropertyPage, they are provide a tabbed > interface. > > - Alfred > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ian Warwick > Sent: Thursday, April 28, 2005 11:58 PM > To: hlcoders@list.valvesoftware.com > Subject: RE: [hlcoders] I need an example of adding tab control for vgui > > You could use an array of buttons on a panel, you could possibly use one > of those cool handy vector collection type thingies for the array so you > can easily add new tabs to the strip, all you would need to do is handle > a click event to change the background of a button (to make it look > selected) and then update a member var to store which one is selected, > this should be very simple to do. > > -Original Message- > From: Heritage [mailto:[EMAIL PROTECTED] > Sent: 29 April 2005 07:45 > To: hlcoders@list.valvesoftware.com > Subject: [hlcoders] I need an example of adding tab control for vgui > > I could not find any examples in the code, I just need the name of the > control and maybe an example of adding tab pages to it. > > thx > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > FusionPeople Ltd may monitor outgoing and incoming emails and other > telecommunications on its email and telecommunication systems. > > > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you have received this email in error you are on notice of > its status. Please notify us immediately by return email if you are not > the intended recipient and delete this message. Please note that any > views or opinions presented in this email are solely those of the author > and do not necessarily represent those of FusionPeople Ltd. > > FusionPeople Ltd may monitor outgoing and incoming emails and other > telecommunications on its email and telecommunication systems. > > === > This message has been checked for all known viruses by MessageLabs, The > service does not scan any password protected or encrypted attachments. > FusionPeople Ltd accepts no liability for any damage caused by any virus > transmitted by this email. > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] I need an example of adding tab control for vgui
Look at PropertySheet and PropertyPage, they are provide a tabbed interface. - Alfred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Warwick Sent: Thursday, April 28, 2005 11:58 PM To: hlcoders@list.valvesoftware.com Subject: RE: [hlcoders] I need an example of adding tab control for vgui You could use an array of buttons on a panel, you could possibly use one of those cool handy vector collection type thingies for the array so you can easily add new tabs to the strip, all you would need to do is handle a click event to change the background of a button (to make it look selected) and then update a member var to store which one is selected, this should be very simple to do. -Original Message- From: Heritage [mailto:[EMAIL PROTECTED] Sent: 29 April 2005 07:45 To: hlcoders@list.valvesoftware.com Subject: [hlcoders] I need an example of adding tab control for vgui I could not find any examples in the code, I just need the name of the control and maybe an example of adding tab pages to it. thx ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders FusionPeople Ltd may monitor outgoing and incoming emails and other telecommunications on its email and telecommunication systems. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error you are on notice of its status. Please notify us immediately by return email if you are not the intended recipient and delete this message. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of FusionPeople Ltd. FusionPeople Ltd may monitor outgoing and incoming emails and other telecommunications on its email and telecommunication systems. === This message has been checked for all known viruses by MessageLabs, The service does not scan any password protected or encrypted attachments. FusionPeople Ltd accepts no liability for any damage caused by any virus transmitted by this email. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] I need an example of adding tab control for vgui
You could use an array of buttons on a panel, you could possibly use one of those cool handy vector collection type thingies for the array so you can easily add new tabs to the strip, all you would need to do is handle a click event to change the background of a button (to make it look selected) and then update a member var to store which one is selected, this should be very simple to do. -Original Message- From: Heritage [mailto:[EMAIL PROTECTED] Sent: 29 April 2005 07:45 To: hlcoders@list.valvesoftware.com Subject: [hlcoders] I need an example of adding tab control for vgui I could not find any examples in the code, I just need the name of the control and maybe an example of adding tab pages to it. thx ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders FusionPeople Ltd may monitor outgoing and incoming emails and other telecommunications on its email and telecommunication systems. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error you are on notice of its status. Please notify us immediately by return email if you are not the intended recipient and delete this message. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of FusionPeople Ltd. FusionPeople Ltd may monitor outgoing and incoming emails and other telecommunications on its email and telecommunication systems. === This message has been checked for all known viruses by MessageLabs, The service does not scan any password protected or encrypted attachments. FusionPeople Ltd accepts no liability for any damage caused by any virus transmitted by this email. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders