大约有 15,000 项符合查询结果(耗时:0.0189秒) [XML]

https://bbs.tsingfun.com/thread-828-1-1.html 

如何设置控件背景颜色透明? - C++ UI - 清泛IT社区,为创新赋能!

使用菜单颜色设置控件CDC,模拟透明效果: COLORREF BkColor = GetSysColor(COLOR_MENU); pDC->SetBkColor(BkColor); 过推荐使用第二种方式: pDC->SetBkMode(TRANSPARENT);         //设置控件背景透明
https://bbs.tsingfun.com/thread-763-1-1.html 

如何获取控件的值? - C++ UI - 清泛IT社区,为创新赋能!

最简单直观的: CString str; GetDlgItemText(IDC_EDIT_TEST, str); int d=atoi(str.GetBuffer(0)); 更优雅的: .h:int m_editTest; .cpp: void CxxDlg::DoDataExchange(CDataExchange* pDX) {     DDX_Text(pDX, IDC_EDIT_TEST, m_editTest); } 这样就绑定了控件和一...
https://bbs.tsingfun.com/thread-767-1-1.html 

MFC CTabCtrl如何添加一标签按钮关闭 - C++ UI - 清泛IT社区,为创新赋能!

使用CMFCTabCtrl,调CMFCTabCtrl::EnableActiveTabCloseButton函数即可。
https://bbs.tsingfun.com/thread-836-1-1.html 

MFC 设置控件字体,颜色,大小,粗体,下划线等 - C++ UI - 清泛IT社区,为...

参考代码:CFont *f = new CFont; f->CreateFont(16, // nHeight                 0, // nWidth                 0, // nEscapement               &nbsp...
https://www.tsingfun.com/it/cp... 

【解决】Missing FindPython3.cmake - C/C++ - 清泛网移动版 - 专注C++内核技术

【解决】Missing FindPython3.cmakeMissing-FindPython3-cmake编译llvm时,报错:CMake Error at CMakeLists txt:729 (find_package): By not providing "FindPython3 cmake" in CMAKE_MODULE_PATH this project has asked 编译llvm时,报错: CMake Error at CMakeLists.txt:729 (find_package):...
https://www.tsingfun.com/it/cp... 

【解决】This is allowed only when policy CMP0079 is set to NEW. - C/C+...

【解决】This is allowed only when policy CMP0079 is set to NEW.This-is-allowed-only-when-policy-CMP0079-is-set-to-NEWcmake最低版本设置为3 13以上,可解决。cmake_minimum_required(VERSION 3 13) can fix the first problem 参考:https: gitlab kitware com cmake cmake - issues 19693cma...
https://www.tsingfun.com/it/cp... 

char类型移动跨平台踩过的坑 - C/C++ - 清泛网 - 专注C++内核技术

char类型移动跨平台踩过的坑CFLAG-fsigned-charchar强转int时,发现在x86平台下是按照有符号处理的,但是在ARM32下被当成了无符号导致问题,ARM64正常有符号。经调查,在PC上,char类型默认为signed-char,但是在一些嵌入式设备 char强转...
https://www.tsingfun.com/it/cp... 

【解决】Missing FindPython3.cmake - C/C++ - 清泛网 - 专注C++内核技术

【解决】Missing FindPython3.cmakeMissing-FindPython3-cmake编译llvm时,报错:CMake Error at CMakeLists txt:729 (find_package): By not providing "FindPython3 cmake" in CMAKE_MODULE_PATH this project has asked 编译llvm时,报错: CMake Error at CMakeLists.txt:729 (find_package):...
https://www.tsingfun.com/it/cp... 

【解决】This is allowed only when policy CMP0079 is set to NEW. - C/C+...

【解决】This is allowed only when policy CMP0079 is set to NEW.This-is-allowed-only-when-policy-CMP0079-is-set-to-NEWcmake最低版本设置为3 13以上,可解决。cmake_minimum_required(VERSION 3 13) can fix the first problem 参考:https: gitlab kitware com cmake cmake - issues 19693cma...
https://www.tsingfun.com/it/os... 

An operation on a socket could not be performed because the system lac...

An operation on a socket could not be performed because the system lacked sufficient buffer space(由于系统缓冲区空间足,或者因为队列已满,能执行套接字上的操作)An-operation-on-a-socket-could-not-be-performed-because-the-system-lacked-sufficient-buffer-space服务...