Hi all,
I've create a window using CreateWindowEx windows API and do some work on it. Thats fine. But for the safer operation at the end of all the processing I want to close/destroy the window.
I've try this,
BOOL clsWin = DestroyWindow(m_hwnd_RTFBox);
if(clsWin != 0)
{
printf("SS");
}
Here m_hwnd_RTFBox is the handle to the window. On the above code there is no compile error, but gives a runtime error and saying there is a unhandled exception on the first line. Where I'm going wrong. I found this from the MSDN, but it wont work.