Thread View: comp.windows.misc
1 messages
1 total messages
Started by zpeng
Wed, 04 Nov 1992 05:11
help on windows programming
Author: zpeng
Date: Wed, 04 Nov 1992 05:11
Date: Wed, 04 Nov 1992 05:11
23 lines
1387 bytes
1387 bytes
Hello there: I am doing graphics and image processing programming on Windows 3.1 I got a trouble to handle the BitMap(1 bit/pixel). Would any expert here give a help or tell me what book I should read or where I can download some sample code? The main problems are: 1. I have a bitmap data stored in an array, and I want to assign it to a window's Bitmap or Device Independent Bitmap. I have looked through the Window's Programmer's Reference, Vol 2: Functions. I found that I could use CreateBitmap() and CreatDIBitmap() function to create a handle of Bitmap, but how can I assign my data stored in an array to that handle. 2. If I got an handle of bitmap, how can I read rows, bytes, bits or pixels according to that handle. I couldn't find any Window's functions for that. Any advice, help, suggestion, comment, sample code are appreciated. -Fred P.S. Please respond to zpeng@u.washington.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads