SFCBias
Member
|
Pointing to custom type in ListGroup
Is it possible to have a list group display an object from a struct containing an object of your own type (which contains the data).
i.e.
Code:
class MyClass{
char* mString;
};
struct MyGroupInfo
{
MyClass item1;
MyClass item2;
usigned item3;
}
Would it then be possible to do something like this
Code:
ListGroup(DATA_CHAR_PTR,0,sizeof(MyClass),0.5f,L"Item1");
I've already tried that code above. My goal is to display the contents of the char ptr inside my class, and how to do that if thats possible.
(This post was last modified: 06-12-2011 11:53 PM by SFCBias.)
|
|
06-12-2011 11:50 PM |
|
rndbit
Member
|
RE: Pointing to custom type in ListGroup
you need to update GUI text manually whenever it changes.. if its that what you are trying to do.
(This post was last modified: 06-13-2011 10:35 AM by rndbit.)
|
|
06-13-2011 10:35 AM |
|