今天终于实现了Office07风格的SDI,发图留念下

之前一直出现的运行错误是由于找不到对应资源文件引起的,在rc文件中加入#include "Styles\Office2007Blue\Office2007Blue.rc"就可以找到资源文件了。
另外实现了VS2005里面的ContextSticker

蛮实用的一个功能,代码也简单
//显示ContextSticker
m_paneManager.SetAlphaDockingContext(TRUE);
m_paneManager.SetShowDockingContextStickers(TRUE);
m_paneManager.SetDockingContextStickerStyle(xtpPaneStickerStyleVisualStudio2005);
m_paneManager.SetShowContentsWhileDragging();