게임 공부/Windows API
[WinAPI] Button 삭제하기
woohyeon
2020. 10. 3. 14:49
반응형
BOOL DestroyWindow(
HWND hWnd
);
CreateWindow()를 통해 생성한 Button은 DestroyWindow()를 통해 제거할 수 있다.
// 버튼 생성
HWND sampleButton = CreateWindow(...);
// 버튼 삭제
DestroyWindow(sampleButton);