Hi
This code closes the window with PostMessage.
But if i write SendMesssage instead of Post message it doesn't close the window.I don't understand why it is so.
Code:
   HWND h=::FindWindow(NULL,L"Tutorial: A Simple Window - Mozilla Firefox");
   PostMessage(h,WM_QUIT,0,0);
What are the differences so postmessage can close the window but postmessage can not.
Thanks