Is there any standard way of delegating functionality so that i can use nonstatic members for a static callback procedure in a class? the range of hwnd's is pretty wide and i'm thinking about using hashtables to store the this pointers by hwnd, is it a good idea?