본문 바로가기

Windows/Windows API

글자 찾기

FINDREPLACE fr;     // common dialog box structure
HWND hwnd;            // owner window
CHAR szFindWhat[80]; // buffer receiving string
HWND hdlg = NULL;     // handle to Find dialog box

// Initialize FINDREPLACE
ZeroMemory(&fr, sizeof(fr));
fr.lStructSize = sizeof(fr);
fr.hwndOwner = hwnd;
fr.lpstrFindWhat = szFindWhat;
fr.wFindWhatLen = 80;
fr.Flags = 0;

hdlg = FindText(&fr);

'Windows > Windows API' 카테고리의 다른 글

파일 열기 (GetOpenFileName)  (0) 2013.10.01
파일열기 OPENFILENAME Structure  (0) 2013.10.01
프린트 셋업 페이지  (0) 2013.10.01
프린트 속성창  (0) 2013.10.01
프린트 창열기  (0) 2013.10.01