Kyle Gibson
June 12th, 2003, 09:14 PM
There's no other way to explain what is occurring. According to the results, the WM_INITDIALOG message is being sent twice.
The fix is easy, a simple global boolean value. The question I want answered is "Why is it sent twice?" I'm only calling DialogBox() once, and if I put a message box before I call DialogBox, the box itself only appears once. But inside the WM_INITDIALOG case, it happens twice.
Anyone got any ideas?
The fix is easy, a simple global boolean value. The question I want answered is "Why is it sent twice?" I'm only calling DialogBox() once, and if I put a message box before I call DialogBox, the box itself only appears once. But inside the WM_INITDIALOG case, it happens twice.
Anyone got any ideas?