problem with closing application

Posted by Xaver on Stack Overflow See other posts from Stack Overflow or by Xaver
Published on 2010-04-06T06:10:25Z Indexed on 2010/04/06 6:13 UTC
Read the original article Hit count: 214

i create my own dialog form with two buttons (ok, cancel) and checked list box. i want to get all selected strings in first form which shown second form. for that purpose i do function GetSelected which return CheckedIndices->GetEnumerator() of my list box. now i want to deselect all strings on pressed cancel button. And deselect all strings on close form by pressing X in corner of form. how to track click the X?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about treeview