Someone can give me short explanation how to create bitmap runtime using GDI/GDI+ and to fill it with color ?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CreateBitmap,CreateCompatibleBitmaporCreateDIBSection(in case you want access to raw underlying data bits)CreateCompatibleDCSelectObjectthe bitmap into created device contextFillRector friends on the device context, and the painting takes place on your selected bitmap (there are options there: standard brushes for black and white, having RGB on hands instead of creating a brush you can doSetBkColor+ExtTextOutwith an empty string andETO_OPAQUEand the rectangle will be filled)SelectObjectbackStill it has something to do with “entire screen” in the title, and you need explain what you want there.