반응형 Windows API2 SetWindowPos / SetForegroundWindow 특정 윈도우를 최상단에 띄우고 싶을 때 사용하면 좋을 API 두 가지다. SetWindowPos : 윈도우의 위치와 크기를 조정하는 데 사용되는 윈도우 API 함수다. SetForegroundWindow : 지정된 창을 포그라운드로 가져오고 창을 활성화하는 API함수다. [WinAPI] SetWindowPos SetWindowPos function (winuser.h) - Win32 apps Changes the size, position, and Z order of a child, pop-up, or top-level window. These windows are ordered according to their appearance on the screen. The topmost window receiv.. 2023. 8. 13. CopyFileEx CopyFileExA function (winbase.h) - Win32 apps CopyFileExA function (winbase.h) - Win32 apps Copies an existing file to a new file, notifying the application of its progress through a callback function. (CopyFileExA) learn.microsoft.com 파일을 복사하는 winAPI 함수이다. 일반적인 copy함수는 불가능한. 복사 중 콜백 함수를 호출해주는 기능이 있다. 해당 기능이 왜 필요할까? 이처럼 PrograssBar를 만들기 위해 필요하다. 복사(이미지는 삭제 중이지만) 진행 상황을 알 수 있다. 아래와 같이 원하는 이벤트에 Co.. 2023. 8. 11. 이전 1 다음