IVsIntelliMouseHandler.DrawBitmap_(UInt32, Int32) Methode

Definition

Zeichnet oder löscht die Bitmap, die zum Schwenken mit der IntelliSense-Maus verwendet wird.

public:
 int DrawBitmap_(System::UInt32 % lpPanBitmap, int fErase);
int DrawBitmap_(unsigned int & lpPanBitmap, int fErase);
public int DrawBitmap_ (ref uint lpPanBitmap, int fErase);
abstract member DrawBitmap_ : uint32 * int -> int
Public Function DrawBitmap_ (ByRef lpPanBitmap As UInteger, fErase As Integer) As Integer

Parameter

lpPanBitmap
UInt32

[in] Zeiger auf eine PANBITMAP-Struktur. Weitere Informationen finden Sie in den Hinweisen.

fErase
Int32

[in] Boolesch. Wenn true, die Bitmap löschen. Andernfalls zeichnen Sie es.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Aus vsshell. idl:

HRESULT IVsIntelliMouseHandler::DrawBitmap_(  
   [in] DWORD* lpPanBitmap,   
   [in] BOOL fErase  
);  

Panbitmap-Struktur

[C++]

typedef struct tagPANBITMAP  
{  
   HWND hwnd;  
   HDC hdcSrc;  
   HBITMAP hbmSave;  
   HBITMAP hbmLoaded;  
   HBITMAP hbmMask;  
   HBITMAP hbmColor;  
   int x;  
   int y;  
   int cx;  
   int cy;  
} PANBITMAP, FAR *LPPANBITMAP;  

Gilt für