这里我们主要介绍window平台下使用php的扩展gettext实现程序的国际化。步骤一:搭建环境1,首先查看你的php扩展目录下是否有php_gettext.dll这个文件,如果没有,这就需要你下载一个或是从其他地方拷贝一个,然后放到php扩展目录。2,打开php.ini,查找”;extensio...
分类:
Web程序 时间:
2014-06-15 23:25:15
阅读次数:
361
SetWindowLong函数介绍。SetWindowLong Unicode函数原型LONG SetWindowLong(hwnd,nIndex,lNewLong)HWND hwnd; /* handle of window */int nIndex; /* offset of value to ...
分类:
Windows程序 时间:
2014-06-15 23:21:22
阅读次数:
1167
报错的代码为protected void buttonPressed(int buttonId) {Display.getDefault().syncExec(new Runnable() { public void run() { localpmtsStreamViewsAction.r...
华文细黑:STHeiti Light [STXihei]华文黑体:STHeiti华文楷体:STKaiti华文宋体:STSong华文仿宋:STFangsong俪黑 Pro:LiHei Pro Medium俪宋 Pro:LiSong Pro Light标楷体:BiauKai苹果俪中黑:Apple LiG...
分类:
Web程序 时间:
2014-06-15 22:38:24
阅读次数:
260
设置透明度(这是窗体本身的透明度,非背景)1 WindowManager.LayoutParams lp=getWindow().getAttributes();2 lp.alpha=0.3f;3 getWindow().setAttributes(lp);alpha在0.0f到1.0f之间。1.0...
分类:
移动开发 时间:
2014-06-15 22:26:12
阅读次数:
335
原题地址:https://oj.leetcode.com/problems/minimum-window-substring/题意:Given a string S and a string T, find the minimum window in S which will contain all...
分类:
编程语言 时间:
2014-06-15 22:10:42
阅读次数:
1109
输出结果就是223566split就是将一字符串以特定的字符切割成多个字符串,并以一维数组的形式储存我项目中的样例:function SelectCompany(){var str=window.showModalDialog("MessageFrame.htm","","dialogWidth=7...
分类:
Web程序 时间:
2014-06-15 20:40:46
阅读次数:
307
用Wireshark抓包发现包被分割成60byte的小包, 协商的Windows size=256. 可以通过如下命令解决:为了不让TCP/IP协议的自动调谐功能拖累网络传输速度,按照下面的操作将其关闭掉: 开始--运行--cmd回车-在该工作窗口的DOS提示符下,输入字符串命令“netsh int...
分类:
数据库 时间:
2014-06-15 19:51:45
阅读次数:
214
第三方包引入时,eclipse默认会把一些包定为错误的,错误是:“undefined variable from import...” 其实是对的,可是报错,很烦人解决方法:window -- preferences -- pydev -- editor -- code analysis -- Un...
分类:
其他好文 时间:
2014-06-15 18:40:06
阅读次数:
175
问题: 模式对话框里的CheckedChanged事件不被触发:解决方法:一、先不直接showModalDialog出要的页面,而是要放一个中单页面window.showModalDialog("Print/Index.aspx?HEADOID=" + strOid + "&rnd=" + Math...
分类:
其他好文 时间:
2014-06-15 17:22:39
阅读次数:
123