COleControl::OnProperties

调用由结构,当控件的属性谓词由容器调用。

virtual BOOL OnProperties( 
   LPMSG lpMsg, 
   HWND hWndParent, 
   LPCRECT lpRect  
);

参数

  • lpMsg
    到调用该谓词的Windows消息的指针。

  • hWndParent
    的句柄到控件的父窗口。

  • lpRect
    对控件使用的矩形指针在容器。

返回值

非零,则调用成功;否则为0。

备注

默认实现显示模式属性对话框。

也可以使用此功能生成控件的属性页显示。 仅仅是对 OnProperties 函数,并将您的 hWndParent 参数的控件的父处理。 在这种情况下,lpMsg 的值和 lpRect 参数将被忽略。

要求

Header: afxctl.h

请参见

参考

COleControl Class

层次结构图