CMFCToolBarEditBoxButton::GetByCmd

检索在具有指定的命令ID.的应用程序的第一 CMFCToolBarEditBoxButton 对象

static CMFCToolBarEditBoxButton* __stdcall GetByCmd(
   UINT uiCmd
);

参数

  • [in] uiCmd
    检索按钮的命令ID。

返回值

在具有指定的命令ID的应用程序的第一 CMFCToolBarEditBoxButton 对象或 NULL ;如果该对象不存在。

备注

此共享的实用工具方法由方法使用例如 CMFCToolBarEditBoxButton::SetContentsAll,并 CMFCToolBarEditBoxButton::GetContentsAll 设置或获取文本的第一个编辑框具有指定的命令ID.的工具栏控件

要求

标头: afxtoolbareditboxbutton.h

请参见

参考

CMFCToolBarEditBoxButton选件类

层次结构图

CMFCToolBarEditBoxButton::SetContentsAll

CMFCToolBarEditBoxButton::GetContentsAll