15,466
社区成员
发帖
与我相关
我的任务
分享protected:
virtual void OnInitDone();
void MyCFileDialog::OnInitDone()
{
CWnd* parent = GetParent();
parent->GetParent()->EnableWindow();
parent->ModifyStyle(WS_BORDER, 0);
CRect rect ;
parent->GetClientRect(&rect);
parent->SetWindowPos(0,rect.left-100,rect.top,rect.right,rect.bottom,0);
GetParent()->GetDlgItem(IDOK)->ShowWindow(0);
GetParent()->GetDlgItem(IDCANCEL)->ShowWindow(0);
//
CFileDialog::OnInitDone();
}; 111.def : Declares the module parameters for the DLL.
LIBRARY "111"
DESCRIPTION '111 Windows Dynamic Link Library'
EXPORTS
; Explicit exports can go here__declspec(dllexport) void ShowDlg(void)
{
CDllDialog dllDialog;
dllDialog.DoModal();
}