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

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

MFC SetCursor设置手型鼠标光标 - C/C++ - 清泛网 - 专注C/C++及内核技术

... __super::OnMouseMove(nFlags, point); int nIndex = HitTest(point); if ( nIndex > -1 ) { SetCursor(AfxGetApp()->LoadStandardCursor(IDC_HAND)); //手型光标 ... } else { SetCursor(AfxGetApp()->LoadStandardCursor(IDC_ARROW)); //普通箭头光标 ... } ... } ...
https://www.tsingfun.com/it/cpp/2156.html 

Android RoundRectShape圆角矩形使用详解 - C/C++ - 清泛网 - 专注C/C++及内核技术

...:RoundRectShape(float[] outerRadii, RectF inset, float[] innerRadii)Specifies an out...圆角矩形 常用作一些组件的背景 构造函数: RoundRectShape(float[] outerRadii, RectF inset, float[] innerRadii) Specifies an outer (round)rect and an optional inner (round)rect.// 指定一...
https://www.tsingfun.com/it/cpp/2176.html 

OnMouseMove nFlags的作用 - C/C++ - 清泛网 - 专注C/C++及内核技术

...TTON当鼠标中键按下时。 MK_RBUTTON当鼠标右键按下时. MK_SHIFT当SHIFT按下时。 注:point是相对位置,例如当窗口的左上角坐标为(10,10)那么当鼠标在屏幕的(10,10)像素点的时候,OnMouseMove函数point值为(0,0)因为是相对窗口左上...
https://www.tsingfun.com/it/opensource/390.html 

强烈推荐一款非常mini的代码高亮开源软件--prism - 开源 & Github - 清泛网...

...后,最终的展示效果如下: string limitSql = string.Empty; if (!string.IsNullOrEmpty(CustomerNo)) limitSql += string.Format(" and t.customerno='{0}'", CustomerNo); 代码高亮 开源软件 prism
https://www.tsingfun.com/it/bigdata_ai/1082.html 

在MongoDB中模拟Auto Increment - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

...', 'seq'); $seq = $instance->db->command(array( 'findAndModify' => 'seq', 'query' => array('_id' => $namespace), 'update' => array('$inc' => array('id' => $option['step'])), 'new' => true, )); if (isset($seq['value']['id...
https://www.tsingfun.com/it/bigdata_ai/1800.html 

C# 操作MongoDb插入、更新、查询 - 大数据 & AI - 清泛网 - 专注C/C++及内核技术

...base("admin"); var collection = db.GetCollection("MonLogs").Find(query); if (collection != null) { foreach (var col in collection) { string id = MongoDataHelper.GetString(col, "_id"); } } 提示函数过期警告: warning CS0618: “MongoDB.Driver.MongoServer.Create(s...
https://www.tsingfun.com/it/te... 

onsubmit阻止表单提交 - 更多技术 - 清泛网 - 专注C/C++及内核技术

..." /> <script language="javascript"> //---> function checksubmit() { if (document.form1.myname.value=="") { alert("请输入开始数值!"); document.form1.myname.focus(); return false; } return true; } //---> </script> ...
https://www.tsingfun.com/it/te... 

php出现 Notice: Undefined index: xxx 的解决方法 - 更多技术 - 清泛网 - 专注IT技能提升

...好的办法是使用变量之前先检查变量是否存在,如: if (isset($_GET['name'])&&!empty($_GET['name'])){ $name = $_GET['name']; } 另外,还有其他几种解决方法供参考: 1、 修改 php.ini 文件中 error_reporting = E_ALL 为 error_reporting = E_ALL & ...
https://www.tsingfun.com/it/tech/1048.html 

PHP 错误记录和聚合的平台Sentry实战 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...Client($dsn, $options); while (($line = fgets(STDIN)) !== false) { if (!preg_match("/{$pattern_content}/", $line, $match)) { continue; } list($line, $timestamp, $level, $message) = $match; $timestamp = gmdate('Y-m-d\TH:i:s\Z', strtotime($timestamp)); preg_m...
https://www.tsingfun.com/it/tech/1050.html 

记一次LVS/Nginx环境下的访问控制 - 更多技术 - 清泛网 - 专注C/C++及内核技术

... geo $bad { default 0; x.y.z.0/24 1; } location / { if ($bad) { return 403; } } 关于 GEO 模块的例子,有一些不错的资料可供参考,这里我就不多说了。 LVS Nginx 访问控制 Graphite GEO