03-21-2008, 01:14 PM
OK - 1, IDOK.
Cancel - 2, IDCANCEL.
For your dialog, x should work, unless you replace ret 1 to ret 0 under case 2.
Cancel - 2, IDCANCEL.
For your dialog, x should work, unless you replace ret 1 to ret 0 under case 2.