Hello. I read many articles on the topic, a few of them were here, on stackoverflow, but none of them asked my question. I'll try to be specific.
I need to create an application (native WinAPI) with a main window (of window class "a"). When the user clicks a button there, a window of "b" class pops up. It might be modal or not, I don't care right now.
I tried making an application with two window classes and two window procedures. But the problem is that when I close the second window, the whole application shuts down.
Thank you.