Changeset 24 in dev for ProjectEditor/nkf_class.cpp
- Timestamp:
- Dec 30, 2006, 10:18:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/nkf_class.cpp
r3 r24 174 174 SendMessage(hList,LB_ADDSTRING,0,(long)"JIS"); 175 175 SendMessage(hList,LB_ADDSTRING,0,(long)"UTF-8"); 176 SendMessage(hList,LB_SETCURSEL,MdiInfo[WndNum].p mti->iCharCode,0);176 SendMessage(hList,LB_SETCURSEL,MdiInfo[WndNum].pMdiTextEdit->iCharCode,0); 177 177 178 178 hList=GetDlgItem(hwnd,IDC_LIST_LFCODE); … … 180 180 SendMessage(hList,LB_ADDSTRING,0,(long)"LF(Unix)"); 181 181 SendMessage(hList,LB_ADDSTRING,0,(long)"CR(Macintosh)"); 182 SendMessage(hList,LB_SETCURSEL,MdiInfo[WndNum].p mti->iLfCode,0);182 SendMessage(hList,LB_SETCURSEL,MdiInfo[WndNum].pMdiTextEdit->iLfCode,0); 183 183 break; 184 184 case WM_COMMAND: … … 186 186 case IDOK: 187 187 //文字コードを取得 188 MdiInfo[WndNum].p mti->iCharCode=188 MdiInfo[WndNum].pMdiTextEdit->iCharCode= 189 189 (int)SendDlgItemMessage(hwnd,IDC_LIST_CHARCODE,LB_GETCURSEL,0,0); 190 190 191 191 //改行コードを取得 192 MdiInfo[WndNum].p mti->iLfCode=192 MdiInfo[WndNum].pMdiTextEdit->iLfCode= 193 193 (int)SendDlgItemMessage(hwnd,IDC_LIST_LFCODE,LB_GETCURSEL,0,0); 194 194
Note:
See TracChangeset
for help on using the changeset viewer.