cframewndex

Creating the MFC print preview dialog bar and showing it in a CFrameWndEx

For various reasons, I have to reimplement MFC's print preview functionality. I'd like to re-use its styled print preview dialog bar in a CFrameWndEx, but I've been running into problems. First, if I use something like the following in a CFrameWnd, I can successfully embed the toolbar: if (!m_wndDlgBar.Create(this, ATL_MAKEINTRESOURCE(...