I want to save/restore size and position of midi-child-frames. The size is OK, but position seems to have an offset of mainframes toolbar,menu and border. I use Get/SetWindowRect(). Any idea?
Hans Peter Warter
Posts
-
Save/Restore Position of MDI-Childs -
LNK2001 in MFC Extension DLL'sHello! I got a strange linker error (EFDBListCtrl.obj : error LNK2001: Unresolved external Symbol "public: static struct CRuntimeClass const CEFListCtrl::classCEFListCtrl" (?classCEFListCtrl@CEFListCtrl@@2UCRuntimeClass@@B) and EFDBListCtrl.obj : error LNK2001: Unresolved external Symbol "protected: static struct AFX_MSGMAP const CEFListCtrl::messageMap" (?messageMap@CEFListCtrl@@1UAFX_MSGMAP@@B)) The error only occur on following circumstances: CEFListCtrl exists in MFC_Extension-DLL_A CEFDBListCtrl exists in MFC_Extension-DLL_B (CEFDBListCtrl inherits from CEFListCtrl) When putting CEFDBListCtrl out from DDL_B into the EXE-Module everthing works fine. I think the project settings are OK (linking with lib's..) there are no unresolved externals for other functions of CEFListCtrl.