rameshmirpuri
April 2nd, 1999, 06:47 AM
Hi...name is ramesh and from singapore here..
I have been given the following task to program. I am a basic programmer in VC++ and roughly need some advise
My project:
-Open a bitmap file, display the bitmap and extract the bits from the bitmap.
- do some calculation with an array on the bits
- display the new modified bitmap alongside the old one.
-user must be able to switch between and view both bitmaps
-save the new bitmap to a file.
-zoom the bitmap if needed
- prin the bitmaps if needed as what they appear.
-my project aim is to show what the array algo can do.
do i
-use mdi or sdi
-how do i manipulate views...
-extract out the bits...
-do i use SetDIBbitstoDEvice, BITBLT(), DrawDibDraw(), StretchDibBits()?
how do i implement printing
I am now able to open and display abitmap on an sdi window. I can save a bitmap to a file.
But when i minimise my application, the bitmap disappears when i restore it back again
why???
my algo for the array resides in an array which i have created. I need to be able to extract oot the bits..
currebtly implementing it with a DIBSECTION....any advise would be most wonderful..
any samples would be tremendously wonderful as well
thanks..
my deadline is next month.....help
I have been given the following task to program. I am a basic programmer in VC++ and roughly need some advise
My project:
-Open a bitmap file, display the bitmap and extract the bits from the bitmap.
- do some calculation with an array on the bits
- display the new modified bitmap alongside the old one.
-user must be able to switch between and view both bitmaps
-save the new bitmap to a file.
-zoom the bitmap if needed
- prin the bitmaps if needed as what they appear.
-my project aim is to show what the array algo can do.
do i
-use mdi or sdi
-how do i manipulate views...
-extract out the bits...
-do i use SetDIBbitstoDEvice, BITBLT(), DrawDibDraw(), StretchDibBits()?
how do i implement printing
I am now able to open and display abitmap on an sdi window. I can save a bitmap to a file.
But when i minimise my application, the bitmap disappears when i restore it back again
why???
my algo for the array resides in an array which i have created. I need to be able to extract oot the bits..
currebtly implementing it with a DIBSECTION....any advise would be most wonderful..
any samples would be tremendously wonderful as well
thanks..
my deadline is next month.....help