Example #1
0
 public static extern IntPtr LoadBitmap(IntPtr hInstance, OEMBitmap uID);
Example #2
0
 public static extern IntPtr LoadBitmap(IntPtr hInstance, OEMBitmap uID);
Example #3
0
 /// <summary>
 /// The LoadBitmap function loads the specified bitmap resource from a module's executable file. This function has been superseded by the LoadImage function
 /// Application uses this function to access predefined bitmaps
 /// </summary>
 /// <param name="uID">Ids for predefined OEM Bitmaps</param>
 /// <returns>If the function succeeds, the return value is the handle to the specified bitmap, else null</returns>
 /// <remarks>Bitmap names that begin with OBM_OLD represent bitmaps used by 16-bit versions of Windows earlier than 3.0.
 /// Use of LoadBitmap to load OEM bitmaps is deprecated and is supported only for backward compatibility. 
 /// New applications should use DrawFrameControl to draw system elements.
 /// 
 /// The application must call the DeleteObject function to delete each bitmap handle returned by the LoadBitmap function
 /// </remarks>
 public static IntPtr LoadBitmap(OEMBitmap uID)
 {
     return Native.LoadBitmap((IntPtr) null, uID);
 }
Example #4
0
 /// <summary>
 /// The LoadBitmap function loads the specified bitmap resource from a module's executable file. This function has been superseded by the LoadImage function
 /// Application uses this function to access predefined bitmaps
 /// </summary>
 /// <param name="uID">Ids for predefined OEM Bitmaps</param>
 /// <returns>If the function succeeds, the return value is the handle to the specified bitmap, else null</returns>
 /// <remarks>Bitmap names that begin with OBM_OLD represent bitmaps used by 16-bit versions of Windows earlier than 3.0.
 /// Use of LoadBitmap to load OEM bitmaps is deprecated and is supported only for backward compatibility.
 /// New applications should use DrawFrameControl to draw system elements.
 ///
 /// The application must call the DeleteObject function to delete each bitmap handle returned by the LoadBitmap function
 /// </remarks>
 public static IntPtr LoadBitmap(OEMBitmap uID)
 {
     return(Native.LoadBitmap((IntPtr)null, uID));
 }