| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 
 | bool Draw(CPaintDC& dc){
 int posx = GetAbsoluteLeft();
 int posy = GetAbsoluteTop();
 HDC  MemDC;
 MemDC =CreateCompatibleDC(0);
 CImage image;
 image.Load("res//Arrow.bmp");
 int w = image.GetWidth();
 int h = image.GetHeight();
 HBITMAP hbmp = image.Detach();
 SelectObject(MemDC, hbmp);
 
 TransparentBlt(dc.m_hDC, posx, posy-14, GetFrameWidth()*2, GetFrameHeight()*2, MemDC
 , 0, 0, w, h, RGB(255, 255, 255));
 
 return true;
 }
 
 
 |