|
에디트 박스 오른쪽 출력이 안되던게 한이던 저였습니다.
API공부하다가 아래처럼 하면 될것 같아서 했는데..
compile할때 error는 안나는데 editBox는 전혀 반응이 없네요..
좀 봐주시구요..
오른쪽 정렬 출력하는 방법있으면 좀 알려주세요..
검색은 해 봤지만 별 뾰족한 수를 아직 못찾았거든요..
코드 (*edtTecCurLimit가 edit box입니다.)
======================================================================
HANDLE hedt;
HDC hdc;
RECT rt = {0,0,edtTecCurLimit->Width,edtTecCurLimit->Height};
char str[] = "0.0";
hedt = edtTecCurLimit->Handle;
hdc = GetDC(hedt);
DrawText(hdc, str, -1, &rt, DT_CENTER);
======================================================================
|