IVsIntelliMouseHandler::DrawBitmap_ Method (UInt32, Int32)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int DrawBitmap_(
	[InAttribute] unsigned int% lpPanBitmap,
	int fErase
)

Parameters

lpPanBitmap
Type: System::UInt32

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

fErase
Type: System::Int32

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

Return Value

Type: System::Int32

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

From vsshell.idl:

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

[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;
Return to top
Show: