> Click "Yes" and the application closes.
>
> Click "No", however, and the message pops up -again-!
> Click "Yes", application exits. Click "No" and nothing further
> happens (like
> you'd expect from clicking "No" the first time!).
>
> Basically, WM_CLOSE seems to be getting sent to the window -twice-?
>
> So my questions:
>
> 1) Does anyone know why this is happening? Is this standard? (I
> wouldn't think
> so)
>
> 2) If it's not standard, anyone have any idea on how I can track down the
> problem?
There's no chance that you're sharing the WndProc with some other window,
and the WM_CLOSE is for two different windows? Maybe checking the hwnd might
prove or disprove that...
--
Jason Teagle
[EMAIL PROTECTED]
