按照windows核心编程思路,在MFC框架下开发相应功能调用SetWindowspos会出现cannot convert parameter 1 from 'struct HWND__ *' to 'const class CWnd *'解决方法:In your dialog's OnInitDialog() function, just add this lineSetWindowPos(&wndTopMost,0,0,0,0, SWP_NOMOVE | SWP_NOSIZE);
In your dialog's OnInitDialog() function, just add this lineSetWindowPos(&wndTopMost,0,0,0,0, SWP_NOMOVE | SWP_NOSIZE);
发表评论
没有评论:
发表评论