The ComboBox control is in many ways like the ListBox control, but takes up a lot less space, because the list of items is hidden when not needed. The...
分类:
其他好文 时间:
2014-07-22 22:56:32
阅读次数:
216
#includeusing namespace std;/******************************************//*use member function to overload operator*//*********************************...
分类:
编程语言 时间:
2014-07-18 19:18:45
阅读次数:
169
Spell checker
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 18693
Accepted: 6844
Description
You, as a member of a development team for a new spell check...
分类:
其他好文 时间:
2014-07-17 19:22:06
阅读次数:
246
页面load方法
$().ready(function() {
})
div隐藏操作
// div是否隐藏
function isHideMenu(){
return $("#menuContent").is(":hidden")
}
// 隐藏div
mainFrameset.hide();
// 显示div
mainFrameset.show();
...
分类:
Web程序 时间:
2014-07-16 17:28:37
阅读次数:
204
解决方法有三个:1. 使用 float 123 456此时的效果是:123456让这两个元素水平对齐,可以使用float;但是这时候外面元素高度为零。.clearfix:after {visibility: hidden;display: block;font-size: 0;conte...
分类:
其他好文 时间:
2014-07-16 17:07:33
阅读次数:
245
非静态成员函数编译器内部已将member函数实体转换为对等的nonmember函数实体。转化步骤:1.改写函数原型以安插一个额外的参数到member function中,使class object可以调用该函数,该额外参数为this指针。2.将函数中每一个对nonstatic data member...
分类:
编程语言 时间:
2014-07-16 16:54:01
阅读次数:
190
常用,但是常忘,我又不是写css的,所以记下来:
先设置一下限制的宽度,
display:block;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;...
分类:
Web程序 时间:
2014-07-16 13:00:05
阅读次数:
226
经验:请使用 member function templates(成员函数模板)生成"可接受所有兼容类型"的函数
示例:泛化 copy 构造函数
temmplate
class SmartPtr{
public:
template
SmartPtr(const SmartPtr &other) //member template, 为了生成 copy 构造函数
: heldPtr(other.get()){...}
T *get() const...
分类:
编程语言 时间:
2014-07-15 13:10:24
阅读次数:
319
只需将textfield的hidden和hideLabel配置为true就可以了。只设置hidden:true时会显示出来一个:的标签。this.formpanel = new Ext.FormPanel({ items: [{ fieldLabel: '代码', name: 'FCode', an...
分类:
Web程序 时间:
2014-07-13 12:45:47
阅读次数:
222
static
Use the static modifier to declare a static member, which belongs to the type itself rather than to a specific object. The static modifier
can be used with classes, fields, methods, proper...
分类:
其他好文 时间:
2014-07-12 22:32:04
阅读次数:
320