¡@

Home 

c++ Programming Glossary: rc.left

How can I change the background color of a button WinAPI C++

http://stackoverflow.com/questions/18745447/how-can-i-change-the-background-color-of-a-button-winapi-c

hbitmap CreateCompatibleBitmap item hdc item rc.right item rc.left item rc.bottom item rc.top SelectObject hdcmem hbitmap int r1.. g b temp.left 0 temp.top i temp.right item rc.right item rc.left temp.bottom i 1 FillRect hdcmem temp Brush DeleteObject Brush.. use this otherwise use FillRect . RoundRect item hdc item rc.left item rc.top item rc.right item rc.bottom 5 5 Clean up SelectObject..

How to get screenshot of a window as bitmap object in C++?

http://stackoverflow.com/questions/7292757/how-to-get-screenshot-of-a-window-as-bitmap-object-in-c

HBITMAP hbmp CreateCompatibleBitmap hdcScreen rc.right rc.left rc.bottom rc.top SelectObject hdc hbmp Print to memory hdc PrintWindow..