You may try with DialogBox API creating modal dialog box. Check the return value. Or hide the previous window and u will get the actual result.....
You can use PostQuitMessage(0); with WM_CLOSE and WM_DESTROY and use enddilaog of application window before PostQuitMessage(0);
You can try in this way if u want get access of any particuler column click..
Software Development Engineer
Separate names with a comma.