悬浮窗制作
http://blog.163.com/toplcx@yeah/blog/static/92667383201021932360/
D3DX 全屏
http://blog.csdn.net/huangxiansheng1980/article/details/5416441
win Style
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632600(v=vs.85).aspx
CREATESTRUCT cs结构体 与 MFC窗口风格(WS_style/WS_EX_style
http://fishboyzyf.blog.163.com/blog/static/61838210201241623542729/
http://www.m5home.com/bbs/thread-6543-1-1.html
CWnd* SetParent( CWnd* pWndNewParent );
MFC 各种获取GUI对象指针的方法
http://blog.csdn.net/yuvmen/article/details/5877232
OnCreate里面编写。。。。。。。 onInitialDlg里面写了,会导致 没有主窗体出现
创建一个CWnd类型的窗体: 。。。。。。。。
RECT rct;
rct.left = 0;
rct.top = 0;
rct.right = 20;
rct.bottom = 20;
CString ClassName = ::AfxRegisterWndClass(CS_CLASSDC,::LoadCursor(NULL,IDC_ARROW),::CreateSolidBrush(::GetSysColor(COLOR_BTNFACE)),NULL);
if (!m_docWin.CreateEx(WS_EX_TOOLWINDOW,ClassName, "Hello ",WS_VISIBLE|WS_CAPTION|WS_OVERLAPPED,0,0,400,300,m_hWnd,NULL,NULL))
{
TRACE0("Failed to create toolbar\n");
return -1; // fail to create
}