Problem with GDI and Aero



I use the following api to display a bitmap inside a dialogbox:

GetDC
LoadBitmap
GetObject
GetDlgItem
GetClientRect
ClientToScreen
ScreenToClient
CreateCompatibleDC
SelectObject
BitBlt

Under Vista with Aero, the bitmap is not displayed. With Aero deactivated or
XP,
the bitmap is correctly displayed. Even with Aero, there is no api error.
I tried various values for BitBlt (SRCCOPY, etc...) without success.

Thanks for your help.


.



Relevant Pages

  • Re: Using SetDIBitsToDevice with C#?
    ... Again, he gets a window with the bitmap displayed, but the color map is wrong. ... public static void InitializeDIB(ref BmBitmapInfoStruct bmi, int winXSize, int winYSixe) ... private unsafe void SetupBitmap4CLand() ... // that will be used to calculate the display image. ...
    (microsoft.public.win32.programmer.ui)
  • Re: Displaying a stored image on a form
    ... Embedded bitmap images appear as "Package" instead of "Bitmap ... to display Bitmap images. ... Whatever the original program was that served as the OLE Server to ... I then created a form on which I want to display my graphic file. ...
    (microsoft.public.access.forms)
  • Re: seperator error in __mask_snprintf_len
    ... This patch captures what I am looking for in bitmap display and input. ... * bitmap_snprintf - convert bitmap to an ASCII hex string. ... * and a length, describing the mask contents. ...
    (Linux-Kernel)
  • Re: PictureBox max width
    ... many seconds of recording and the rate. ... and that's the length of display problem. ... what I don't understand is why you need to store all this ... no need whatsoever to store the actual bitmap that the data produces. ...
    (microsoft.public.vb.general.discussion)
  • Re: size of Picture Control
    ... in the known universe, or at any time upgrade your machine, change its display, ... But at no time would I consider redrawing the image to "fit ... resource, set the Picture Control to Type ... Bitmap and selected in the Image field the bitmap resource. ...
    (microsoft.public.vc.mfc)

Loading