This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Delete section | |
- WriteProfileString(IntToStr(i), NULL, 0); | |
+ ret = AfxGetApp()->WriteProfileString(IntToStr(i), NULL, NULL); | |
+ if (ret == 0) { | |
+ MessageBox(GetLastErrorString()); | |
+ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void CDragDropListBox::SwapItem(int newIndex) | |
{ | |
DWORD data; | |
CString str; | |
int top; | |
SetRedraw(FALSE); | |
top = GetTopIndex(); | |
GetText(newIndex, str); |
NewerOlder