Does anyone know a way to specify a member function of a class as the
window procedure (the lpfnWndProc member in a WNDCLASS struct) for a
window. Apparently it is illegal to simply assign a member function of
an object to a WNDPROC variable. This makes it very difficult to write an
elegant abstract window class while maintaining *pure* oo.
Jon.
__________________________________________________
|================================================| ---
I---, |-=| Jon Guyer |=@nospam.=| jaguyer@nospam.socs.uts.edu.au |=-|
-----U ==| |================================================| ---
| :) U ==| | "Lo, thy dread empire Chaos is restor'd" | ---
-----'----U | |________________________________________________| ---
|)___() 'U |______====____ \________________________________| -----
[_/,-,\"--"----- // ,-, ,-,\\\ |/ //,-, ,-, ,-,\\ __# ---
( 0 )====#####// ( 0 )( 0 )''- o '( 0 )( 0 )( 0 )''
-----'-'--------------'-'--'-'-------------------'-'--'-'--'-'--------------