{I+=codeWee;}
[C++] MFC: How to Disable Window Move Message by user
void CMainFrame::OnSysComand(UINT nID, LPARAM lParam)
{
	if ((nID & 0xFFF0) == SC_MOVE) // <-------------------
		return;
	else
		CFrameWnd::OnSysCommand(nID, lParam); 
}
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.