Callbacks in MFC (Sdk)

Callbacks in MFC // Sdk

1  |  


Dec 6, 2002, 9:21pm
I am having some difficulties getting callbacks to work correctly in MFC


Dec 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

agent1 webmaster@shatteredplattersdotcom

Dec 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.


[View Quote]


Dec 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]

1  | is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn