how to disply pixel data on a dialog?
-
I want to display pixel data in a static control on a dialog. can anybody....help me out in this:confused: Ashok
-
I want to display pixel data in a static control on a dialog. can anybody....help me out in this:confused: Ashok
Im not sure do you need to
SetPixelV
?
WhiteSky
-
what do you mean by pixel data? Is it simply an image? Can you convert it to HBITMAP? If so you can use SetBitmap API of CStatic.
- NS -
-
Yes..its an image data . I am receiving continously...I need to display as and when I revceive. thanks in advance Ashok
-
If you can convert it to bitmap, then as I early mentioned, you can use SetBitmap. Another option is that customize the static control (deriving from CStatic) and put each pixel in to the DC in OnPaint(). SetPixelV API can be used for that.
- NS -