ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Callbacks in MFC (Sdk)
Callbacks in MFC // SdkununduilDec 6, 2002, 9:21pm
I am having some difficulties getting callbacks to work correctly in MFC
ununduilDec 6, 2002, 9:24pm
Woops hit enter to quick on that one hehe, anyways
I have registered them in the dialog init and have a static member function acting as the callback function, but it never seems to get called, I can't seem to get the silly thing going, any help would be greatly welcomed. Thanx in advance Ununduil agent1 webmaster@shatteredplattersdotcomDec 6, 2002, 9:24pm
That's very nice! Oh... you'd like some help?
What are you trying to use as a callback? There are some problems with using class members as callbacks for the AW SDK. -Agent1 [View Quote] ananasDec 6, 2002, 9:54pm
Add them as normal functions, not class members, that's way
easier, e.g. : void EvCellBegin (void) { ... } ...... extern void EvCellBegin (void); aw_event_set (AW_EVENT_CELL_BEGIN, EvCellBegin); [View Quote] |