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

https://www.tsingfun.com/it/cpp/2123.html 

MFC Static透明背景色的实现、Static控件自绘、Static字体修改 - C/C++ - ...

...ow(); virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct); ... //添加Owner Draw属性 void CTransparentStatic::PreSubclassWindow() { // TODO: Add your specialized code here and/or call the base class CStatic::PreSubclassWindow(); DWORD dwStyle = GetStyle(); SetWindowLong(...
https://www.tsingfun.com/it/cpp/2147.html 

GetNextDlgTabItem用法详解,回车替代Tab键切换控件焦点 - C/C++ - 清泛网 ...

...如下: BOOL Cxxx::PreTranslateMessage(MSG* pMsg) { // TODO: 在此添加专用代码和/或调用基类 UINT nKeyCode = pMsg->wParam; if (pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_RETURN) { CWnd *wnd = GetFocus(); if (wnd != NULL) { char str[256]; CString Clas...
https://www.tsingfun.com/it/cpp/2189.html 

mfc 显示子窗口任务栏图标 - C/C++ - 清泛网 - 专注C/C++及内核技术

...话框也在任务栏创建图标呢? 在子窗口的 OnInitDialog() 里添加如下代码: ModifyStyleEx(0, WS_EX_APPWINDOW); ShowWindow(SW_SHOW); 完美解决,亲测有效。 mfc 子窗口 任务栏 图标
https://www.tsingfun.com/it/cpp/2453.html 

程序崩溃时malloc/new可能导致死锁,程序卡死退不出 - C/C++ - 清泛网 - 专...

...崩溃时才有malloc的可重入性的问题。 2、Linux下可以通过添加一个宏 _REENTRANT 解决(编译时使用libc中安全可重入的malloc函数),Windows未知。 另外,Windows Server2016服务器C++崩溃时容易不彻底,导致卡住死锁,Server2008死锁概率低...
https://www.tsingfun.com/it/da... 

MySQL (\'root\'@\'%\') does not exist 的问题 - 数据库(内核) - 清泛网 - 专注C/C++及内核技术

...是由于root用户对全局host无访问权限。因此只要给root用户添加一个访问权限即可。 解决办法: 登陆mysql ,执行 mysql -u root -pPasswd mysql >grant all privileges on *.* to root@"%" identified by "Passwd" ; mysql >flush privileges;MySQL root
https://www.tsingfun.com/it/os_kernel/2202.html 

解决:error while loading shared libraries: libpcre.so.1: cannot open ...

...lib库文件的位置(可以使用命令 whereis xxx ),并把目录添加到/etc/ld.so.conf.d/libc.conf中,没有则新建这个文件。然后再运行ldconfig才可以生效。 解决:用以下shell命令解决:(用root用户) echo "/usr/local/lib" >> /etc/ld.so.conf.d/libc.c...
https://www.tsingfun.com/it/tech/459.html 

PHPCMS V9不能上传图片的原因与解决方法 - 更多技术 - 清泛网 - 专注C/C++及内核技术

... 1、修改system.php 在'app_path' => 'http://www.主域名.com/'下面添加一行 'up_path' => 'http://cp.a.com/',//后台域名配置地址 2、修改/phpcms/base.php加入代码: <?php //后台CKEditor地址 define('UP_PATH',pc_base::load_config('system','up_path')); 3、修改/php...
https://www.tsingfun.com/it/tech/466.html 

.NET4.5新特性 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...了应用程序的吞吐率(throughput)。要启用服务器GC,只需要添加gcServerXML标签并将其设为true即可: <configuration> <runtime> <gcServer enabled="true"/> </runtime> </configuration> 其他特性 *控制台支持Unicode *数组支持超过2G大小 *等等…… ...
https://www.tsingfun.com/it/tech/467.html 

js实现ReplaceAll全部替换 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...个匹配后停止)。 m 执行多行匹配。 除此之外,也可以添加 Stirng对象的原型方法: String.prototype.replaceAll = function(s1,s2){ return this.replace(new RegExp(s1,"gm"),s2); } 这样就可以像使用replace 方法一样使用replaceAll了 str.replaceAll("...
https://www.tsingfun.com/it/tech/918.html 

Windows、Linux开放指定端口 - 更多技术 - 清泛网 - 专注C/C++及内核技术

... 设置后立即生效。 Linux篇: vi /etc/sysconfig/iptables 添加一行: -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT 重启防火墙: service iptables restart Windows Linux 端口 防火墙