Try to overwirte the virtual function OnCancel(), and call EndDialog(n) in that. Or just call EndDialog(n) in OnClose() function.
neil kuo
Posts
-
a question? -
How to create a dialog that acts like MDIChild windowI agreed with u, and the CFormView is a plus. ;)
-
Windows ThumbNailIf you'd like to show your file as a picture in explorer's thumbnail mode, maybe you can fill the 'zoomed' image data(bmp/jpg/...) in file header. ;P
-
a vote about working efficiencyDo you agree that working in the morning has more efficiency than in the afternoon? :)
-
CDockState::SaveState(xxx) vs register keydoes anyone know where the location of CDockState::SaveState(xxx) is in register key?
-
Can't display column if the width is over 32767 in CListCtrlOh, Maybe i should say the it's a List that had many column, and the summary width of columns are over 32767, ex. 660 columns * 50 width/column. It' possible, right! I know the problem due to limit of the 16 bit, but have another way i can resolve???:doh:
-
Can't display column if the width is over 32767 in CListCtrlHI. When i use CListCtrl in MFC and set the width of column is larger than 32767, the area of exceed couldn't display. How can I get a OnDrawItem message in CListCtrl if the width of column is larger than 32767 unit. Could someone can resolve it ? :confused: thanks.