17 this->
create(X, Y, HEIGHT, WIDTH, TEXT);
31 this->bhWnd = CreateWindowW(TEXT(
"BUTTON"), TEXT,
32 WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON | BS_BITMAP,
34 this->
hWnd, (HMENU)this->ID, this->
hInst, NULL);
40 HBITMAP hBitmap = LoadBitmap(
hInst, MAKEINTRESOURCE(rID));
41 return SendMessageW(this->bhWnd, BM_SETIMAGE, IMAGE_BITMAP, (LPARAM)hBitmap);
51 DestroyWindow(GetDlgItem(this->
hWnd, this->ID));