Changeset 24 in dev for ProjectEditor/ParameterHint.cpp
- Timestamp:
- Dec 30, 2006, 10:18:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/ParameterHint.cpp
r3 r24 49 49 else{ 50 50 //エディタから読み込む 51 pBuf=(char *)HeapAlloc(hHeap,0,lstrlen(MdiInfo[i].p mti->buffer)+1);52 lstrcpy(pBuf,MdiInfo[i].p mti->buffer);51 pBuf=(char *)HeapAlloc(hHeap,0,lstrlen(MdiInfo[i].pMdiTextEdit->buffer)+1); 52 lstrcpy(pBuf,MdiInfo[i].pMdiTextEdit->buffer); 53 53 } 54 54 } … … 60 60 WndNum=GetWndNum(GetWindow(hClient,GW_CHILD)); 61 61 62 pBuf=(char *)HeapAlloc(hHeap,0,lstrlen(MdiInfo[WndNum].p mti->buffer)+1);63 lstrcpy(pBuf,MdiInfo[WndNum].p mti->buffer);62 pBuf=(char *)HeapAlloc(hHeap,0,lstrlen(MdiInfo[WndNum].pMdiTextEdit->buffer)+1); 63 lstrcpy(pBuf,MdiInfo[WndNum].pMdiTextEdit->buffer); 64 64 } 65 65 … … 686 686 char temp2[8192]; 687 687 688 pBuf=MdiInfo[WndNum].p mti->buffer;688 pBuf=MdiInfo[WndNum].pMdiTextEdit->buffer; 689 689 690 690 //キャレットが示すバッファインデックスを取得 691 691 iPos=GetBufferIndexFromCaretPos( 692 692 pBuf, 693 MdiInfo[WndNum].p mti->StartCaretPos.x,694 MdiInfo[WndNum].p mti->StartCaretPos.y);693 MdiInfo[WndNum].pMdiTextEdit->StartCaretPos.x, 694 MdiInfo[WndNum].pMdiTextEdit->StartCaretPos.y); 695 695 696 696 static int Before_StartCaretY; 697 697 BOOL Before_StartCaretSwitch=0; 698 if(MdiInfo[WndNum].p mti->StartCaretPos.y!=Before_StartCaretY){699 Before_StartCaretY=MdiInfo[WndNum].p mti->StartCaretPos.y;698 if(MdiInfo[WndNum].pMdiTextEdit->StartCaretPos.y!=Before_StartCaretY){ 699 Before_StartCaretY=MdiInfo[WndNum].pMdiTextEdit->StartCaretPos.y; 700 700 Before_StartCaretSwitch=1; 701 701 } … … 967 967 else{ 968 968 if(MethodCheckInfo.hWnd){ 969 UpdateWindow(MdiInfo[WndNum].p mti->hEdit); //ちらつき防止969 UpdateWindow(MdiInfo[WndNum].pMdiTextEdit->hEdit); //ちらつき防止 970 970 971 971 DestroyWindow(MethodCheckInfo.hWnd); … … 1258 1258 GetWindowRect(MdiInfo[i].hwnd,&rect); 1259 1259 GetCaretPos(&pos); 1260 ClientToScreen(MdiInfo[i].p mti->hEdit,&pos);1260 ClientToScreen(MdiInfo[i].pMdiTextEdit->hEdit,&pos); 1261 1261 rect.left=pos.x-20; 1262 1262 rect.top=pos.y-pobj_nv->lf.lfHeight;
Note:
See TracChangeset
for help on using the changeset viewer.