MessageBox in OnInitDialog
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Good day, I have on my OnInitDialog an initialization and if there the returncode of the initilization is error then I display Error using Messagebox. However After I press Ok button, I got an access violation. Is there a proper way to have MessageBox in OnInitDialog? Thanks.
-
Good day, I have on my OnInitDialog an initialization and if there the returncode of the initilization is error then I display Error using Messagebox. However After I press Ok button, I got an access violation. Is there a proper way to have MessageBox in OnInitDialog? Thanks.