Thanks for everyone for the replies. :)
I wonder why cr_naik's SaveBitmapFile function captures the whole screen, even though I give it a hdc of a dialog's static-control as a parameter. I would...
Type: Posts; User: solar3147
Thanks for everyone for the replies. :)
I wonder why cr_naik's SaveBitmapFile function captures the whole screen, even though I give it a hdc of a dialog's static-control as a parameter. I would...
I'm using pure win32 api, sorry forgot to mention. I don't quite understand the answer (but thank you for it anyways! )
I'm trying to save a programatically created 256 grayscale bitmap into a general .bmp file.
I can show the bitmap on screen with this command:
StretchDIBits(hdc, 10, 10, 8, 9, 0, 0,
8, 9,...
How about displaying a 256 grayscale image on the screen? If I have a byte[2500] table with values, how do I convert it to a 50x50 grayscale bitmap so that I can display it on the screen? Like 0...
I'm trying to create a random 50x50 pixel 256 color bitmap programatically. I have studied several instructions about bitmap creation, but the process is still unclear for me.
I have tried to do...
Hi!
I'm trying to get the code working from MSDN ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/scrollbars/usingscrollbars.asp ).
It should...