objectarx MFC 非模态对话框为当前焦点
dialog.h
afx_msg LRESULT OnAcadKeepFocus(WPARAM, LPARAM);
dialog.cpp
BEGIN_MESSAGE_MAP(CTextDialog, CDialogEx)
ON_MESSAGE(WM_ACAD_KEEPFOCUS, OnAcadKeepFocus)
END_MESSAGE_MAP()
LRESULT CTextDialog::OnAcadKeepFocus(WPARAM, LPARAM) {
return (TRUE);
}
只想当咸鱼的程序员