Original Post
hi, i have a question... is there anyway i can process messages on my own, using a function besides a WNDPROC? i am making a class to contain a window, and i want to use a member function as the WndProc, allowing me access to member data i dont want to have to call 'DispatchMessage()', instead i want to call the WndProc manually (which will allow me to use my own custom function type or a member function) like this: TranslateMessage(&Msg); CustomWndProc(hWnd, Msg.message, Msg.wParam, Msg.lParam, ...); this would allow me to add custom parameters to the function (not actually doing that), but i need it so i can use a member function i've done something like this before, but it didnt work for some odd reason, cant remember what it was though...i think it had something to do with WM_DESTROY not actually being sent or something weird like that... thx for any help in advance