how close a window using the SendMessage()?
i have a class destroctur:
1 2 3 4 5 6 7 8
|
~form()
{
if(IsWindowVisible(hwnd)==TRUE)
FormCount=FormCount-1;
DestroyCursor(hCursor);
DestroyWindow(hwnd);
hwnd = 0;
}
|
how can send the WM_CLOSE with SendMessage() function?
Topic archived. No new replies allowed.