Partager via


IVsIntelliMouseHandler.DrawBitmap_(UInt32, Int32) Method

Definition

Draws or erases the bitmap used for panning with the Intellisense mouse.

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

Parameters

lpPanBitmap
UInt32

[in] Pointer to a PANBITMAP structure. For more information, see Remarks.

fErase
Int32

[in] Boolean. If true, erase the bitmap. Otherwise, draw it.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

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

PANBITMAP Structure

[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;  

Applies to