IVsIntelliMouseHandler.DrawBitmap_(UInt32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用 Intellisense 鼠标绘制或拭除用于平移的位图。
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
参数
- lpPanBitmap
- UInt32
中指向 PANBITMAP 结构的指针。 有关详细信息,请参阅“备注”。
- fErase
- Int32
中变量. 如果 true 为,则擦除位图。 否则,绘制它。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell:
HRESULT IVsIntelliMouseHandler::DrawBitmap_(
[in] DWORD* lpPanBitmap,
[in] BOOL fErase
);
PANBITMAP 结构
[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;