   Override functions in .NET
  I would to override this->WndProc(message* msg) function with the old WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);what are the correct ways? 
  Try rephrasing the question. I don''t understand it. ;  C++ prohibits overriding functions with ones publishing differing signatures.This can be circumvented (using raw function pointers), but the .net window procedure expects entirely different type of parameters than the standard WndProc so it wouldn''t work anyway.What are you trying to accomplish?-Nik ;  i want to handle WM_ messages.to avoid windows focus. ;  The .net framework sdk has a perfectly good example of handling windows messages by overriding the window procedure.Search for topic "Control.WndProc Method" on either MSDN or MSDN Online.kind rgds,-Nik 