CTaskDialog::OnExpandButtonClick

當使用者按一下展開按鈕時,架構會呼叫這個方法。

virtual HRESULT OnExpandButtonClicked(
   BOOL bExpanded
);

參數

  • [in] bExpanded
    非零的值表示額外資訊會顯示,0 表示額外資訊隱藏。

傳回值

預設實作會傳回 S_OK

備註

在衍生類別中覆寫這個方法會實作自訂行為。

需求

標題: afxtaskdialog.h

請參閱

參考

CTaskDialog 類別

階層架構圖

CTaskDialog::TaskDialogCallback