Hi all,
I am trying to mimic the dot net method "Form.ShowDialog()" in my gui library hobby project. After a few hours of google search, i came to know that i need to use EnableWindow function to achieve this. Means, disable all other windows when my ShowDialog is called and enable all those windows back when my modal window gets closed. But this resulted in a strange behavior. When i click on any disabled window, my modal window is not flashing. But i can hear a beep sound. I doubt that i should take care about the parent child relationship of all the windows. I hope someone will enlighten me with their ideas. Thanks in advance.
Ho to show a normal window as modal window ?
Re: Ho to show a normal window as modal window ?
You need to call DialogBoxParam or DialogBoxIndirectParam.