次の方法で共有


CMFCToolBarMenuButton::GetImageRect

ボタン イメージに外接する四角形を取得します。

void GetImageRect(
   CRect& rectImage 
);

パラメーター

  • [出力] rectImage
    イメージに外接する四角形の座標を受け取る CRect オブジェクトへの参照。

必要条件

**ヘッダー:**afxtoolbarmenubutton.h

参照

参照

CMFCToolBarMenuButton クラス

階層図