Changeset 24 in dev for ProjectEditor/TextEditor_EventProc.cpp
- Timestamp:
- Dec 30, 2006, 10:18:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/TextEditor_EventProc.cpp
r3 r24 226 226 227 227 int iControlTabSpace; 228 iControlTabSpace=MdiInfo[WndNum].p mti->iWidth_ControlTabSpace;228 iControlTabSpace=MdiInfo[WndNum].pMdiTextEdit->iWidth_ControlTabSpace; 229 229 230 230 i=max(-si.nPos,min(i,si.nMax-((rect.right-iControlTabSpace)/font_width)-si.nPos)); … … 238 238 239 239 //ルーラーを再描画 240 InvalidateRect(MdiInfo[WndNum].p mti->pobj_Ruler->hRulerWnd,NULL,0);241 UpdateWindow(MdiInfo[WndNum].p mti->pobj_Ruler->hRulerWnd);240 InvalidateRect(MdiInfo[WndNum].pMdiTextEdit->pobj_Ruler->hRulerWnd,NULL,0); 241 UpdateWindow(MdiInfo[WndNum].pMdiTextEdit->pobj_Ruler->hRulerWnd); 242 242 243 243 return 0; … … 259 259 WS_CHILD|WS_VISIBLE, 260 260 0,0,0,0, 261 MdiInfo[wParam].p mti->pobj_WebResult->hwnd,0,hInst,0);261 MdiInfo[wParam].pMdiTextEdit->pobj_WebResult->hwnd,0,hInst,0); 262 262 263 263 SetWindowLong(hOneTabWnd,GWL_USERDATA,(long)lParam);
Note:
See TracChangeset
for help on using the changeset viewer.