Originally posted by: DiegoYu
Dear Sir or Madam:
This is based on dialog based program.
I am so wondering how to show bitmap picture stably.
I plan to show three different bitmap on a
picture component selected by a scroll bar.
The scroll bar has three ticks.
whenever changing tick , different bitmap shows.
But , i find after keep changing scroll ticks,
the component becomes out of work.
(cannot change bitmap picture)
And after minimizing then maximizing the program ,
the bitmap disappears!
I try Invalidate() with UpdateWindow() method ,
but it doesn't work.
Could you please tell me how to solve that problem?
Thanks a lot!
Originally posted by: Ruth
How can I create avi movie from number of bitmaps?
ReplyOriginally posted by: ratnesh deepak
please tell me in which language this program is written.and tell me a softwere to compile it.
ReplyOriginally posted by: ?
Read title.
Reply
Originally posted by: devina
i just want to know how to read the rgb values of the 8bit bitmap. i have tried the GetBitmapBits func. i will be glad if someone sends me a code for that for my final semester project.
thanx in advance,
devina
Originally posted by: Alex
Hi there,
Is anybody here who knows how to display a grayscale bmp?. What I need to do is load an RGB bmp, convert it to GrayScale and, including other things, display it on screen.
The problem is that the CDC method SetPixel works with COLORREF type, so I can try everything I want, I only get pics with a red hue!
Thanks!
Teel me if you resolve the problem...
ReplyOriginally posted by: Yaron
hi,
I tried the code above but in the if statment of: if((pDC->GetDeviceCaps(RASTERCAPS) & RC_PALETTE) )
it retruns false and does not enter... I don`t know the reason is someone can help me with that?
Originally posted by: hansy
i use drawDIB function.
but every time i use drawDIB, 4KB memory loss occurred.
please help. how can i correct this?
Originally posted by: vijay
Hi ALL,
I want to do drag and drop operation in the View class.
Here in view class I have put some bitmaps, and want the drag these bitmaps and drop in specified RECT area.
Here I could able to do drag operation for the bitmap through BitBlt()
OnMouseMove(), and also drop operation for the same.
But I could not able to remove the track of the dragging
bitmap(Invalidation), for removing this track, I have created a bitmap from
the client area, and want to create a another bitmap from this client area
bitmap with the specified RECT size, which I am getting through last point
of mouse move.
So anybody of you could help me on resolving this problem of creating a
bitmap from a bitmap or can I achive the same through any another method ??
Regards,
Vijay
Originally posted by: Mizan
Here is the API:
BOOL TransparentBlt(
please help.
i'm looking for codes that can substitute TransparentBlt API of Windows NT/98/2000.
HDC hdcDest, // handle to destination DC
int nXOriginDest, // x-coord of destination upper-left corner
int nYOriginDest, // y-coord of destination upper-left corner
int nWidthDest, // width of destination rectangle
int hHeightDest, // height of destination rectangle
HDC hdcSrc, // handle to source DC
int nXOriginSrc, // x-coord of source upper-left corner
int nYOriginSrc, // y-coord of source upper-left corner
int nWidthSrc, // width of source rectangle
int nHeightSrc, // height of source rectangle
UINT crTransparent // color to make transparent
);
All the sample code i find, non has the width and height paramerters of the source - only the X and Y.