Hi,
My question is as stated in the title is there a difference between calling WM_DeleteWindow or sending the message WM_DELETE via WM_SendMessageNoPara ? Because when i call GUI_EndDialog(hWin, 0) (which according to reference guide : "In case a non-blocking dialog is closed, this function works the same way the function WM_DeleteWindow() works") in the initialization function just after receiving WM_INIT_DIALOG, sometimes the window don't get deleted and i don't receive WM_DELETE message. But in the other hand, when calling WM_SendMessageNoPara(hWin, WM_DELETE) i always get the WM_DELETE message.
Another thing when using WM_SendMessageNoPara(hWin, WM_DELETE) does it free the memory dynamically allocated by the window as WM_DeleteWindow does or not ?
I hope i have made myself clear and if you need any clarification feel free to ask.
My question is as stated in the title is there a difference between calling WM_DeleteWindow or sending the message WM_DELETE via WM_SendMessageNoPara ? Because when i call GUI_EndDialog(hWin, 0) (which according to reference guide : "In case a non-blocking dialog is closed, this function works the same way the function WM_DeleteWindow() works") in the initialization function just after receiving WM_INIT_DIALOG, sometimes the window don't get deleted and i don't receive WM_DELETE message. But in the other hand, when calling WM_SendMessageNoPara(hWin, WM_DELETE) i always get the WM_DELETE message.
Another thing when using WM_SendMessageNoPara(hWin, WM_DELETE) does it free the memory dynamically allocated by the window as WM_DeleteWindow does or not ?
I hope i have made myself clear and if you need any clarification feel free to ask.