Browse by Tags

Tagged Content List
  • Blog Post: Using GetObject to find out the pixel format of a bitmap.

    GDI has a method call GetObject which can be used to get information about a GDI object. On Windows CE you can use GetObject to get the pixel format for any bitmap by passing in a DIBSECTION instead of a BITMAP . Here's an example: DIBSECTION ds; HDC hdc = GetDC(NULL); HGDIOBJ bmp = GetCurrentObject...
Page 1 of 1 (1 items)