In my program i have a main window with a menu bar, when clicking some menu items it displays a diferent dialog box for each case... Since i create them with a call to DialogBox() i don´t get an handle by default, which i need, in order to allow user input.How do i work around this.
I know that a call to CreateDialog() does that, but i didn´t use it because i don´t want the user to be able to interact with the main window while a dialog box is active. with a DialogBox() i get that result by default...
So 1-is there a way to get the handle while using DialogBox()??? or ..
2- how can i manage the situation while replacing that call for a CreateDialog() one (not allowing for the user to click the main window while the dialog is active.????