IVsIntelliMouseHandler::DrawBitmap_ Method (UInt32, Int32)
Visual Studio 2015
Draws or erases the bitmap used for panning with the Intellisense mouse.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
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::Int32If 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;
Show: