8bit Bitmap

  • Thread starter Franz Wegerer via DotNetMonster.com
  • Start date
F

Franz Wegerer via DotNetMonster.com

Hi,

i am trying to display a 8bit bitmap image on a WinCE4.2 (WinCE5.0) device
(8bit). Therefore I programmed 2 applications:

1) eVC++ dialog based application
2) C# form control

I used only an ImageControl, but with C# the result is unsatisfactory (less
colors, ...)!



Does anyone know this problem?

Thanks in advance!
 
A

Alex Feinman [MVP]

Do you see the same problem with 24-bit bitmap?
Do you have CF SP3 installed?
 
F

Franz Wegerer via DotNetMonster.com

Yes, I have SP3 installed and the problem occurs with 24bit images, too!
With SP3 the image looks different

Maybe I can send you screenshots?
 
F

Franz Wegerer via DotNetMonster.com

Good morning

with a picture box

or

case WM_CREATE:
hBitmap = LoadBitmap(ghInstance, MAKEINTRESOURCE(IDB_VGA_8BIT));
hBmpStat = CreateWindowEx(
NULL,
L"Static",
L"",
WS_VISIBLE | WS_CHILD | SS_BITMAP,
0, 0,
0, 0,
hwnd, NULL,
ghInstance,
NULL);
SendMessage(hBmpStat, STM_SETIMAGE, IMAGE_BITMAP, (LPARAM) hBitmap);


Both methods have the same behavior and are OK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top