|
1 registered members (SBGuy),
652
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
overwrite struct
#282714
08/03/09 11:17
08/03/09 11:17
|
Joined: Jul 2007
Posts: 288 Germany, NRW
Martek
OP
Member
|
OP
Member
Joined: Jul 2007
Posts: 288
Germany, NRW
|
Hello everyone, is it possible to overwrite a struct? I want to add some more varialbes to the panel struct. Or can I work around it. I hope that I needn't create an extra array and save these variables into it...
Mfg, Martek
3D Gamestudio A7 Extra
|
|
|
Re: overwrite struct
[Re: Martek]
#282735
08/03/09 12:50
08/03/09 12:50
|
Joined: May 2004
Posts: 1,510 Denmark
Claus_N
Serious User
|
Serious User
Joined: May 2004
Posts: 1,510
Denmark
|
Hi, No you can't do so as far as I know, however I suppose you could do something like this:
typedef struct PanelStruct
{
PANEL* ThePanel;
var myVar1;
var myVar2;
} PanelStruct;
|
|
|
|
|
|