Hello everyone,
i have a problem and i hope that someone hier can help me :-)
I have a UIButton. Programmatically i can set the Butten Highlighted by saying
Code:
myButton.highlighted = YES;
for exampel. On display, the Button gets Highlighted.. all works fine. Now i call a method from a C++ class
Code:
@implementation myClass
- (void)visualizeEvent
{
myButton.highlighted = YES;
}
@end
the Button would be set to highligted, no problem, but on display, the Button status does not change. Do have anyone a idea, what the problem is?
A little bit more information about my programm:
To call the visualizeEvent method from the c++ class:
Code:
#import "myClass.h"
class myCPlusPlusClass
{
void function();
void setMyClass(myClass* ptr) { classPtr = ptr; }
myClass* classPtr;
};
void myCPlusPlusClass::function()
{
[classPtr visualizeEven];
}
Thanks in advance!
have a nice week
Marta