04 2014 档案
摘要://写文件CStdioFile file; file.Open("test.txt",CFile::modeCreate|CFile::modeReadWrite); file.WriteString("A ha, hello!");//读取abc.txt CStdioFile file; file...
阅读全文
摘要:DWORD dwStyle = dataListControl.GetExtendedStyle(); dwStyle |= LVS_EX_FULLROWSELECT;//选中某行使整行高亮(只适用与report风格的listctrl) dwStyle |= LVS_EX_GRIDLINE...
阅读全文
摘要:将新的数据放入临时数组NSMutableArray *tmp=[[NSMutableArray alloc] init];[tmp addObject:[[NSString alloc] initWithCString:pigNames.c_str() encoding:NSUTF8StringEncoding]];pickerData=tmp;[picker reloadAllComponents];//重新加载数据[tmp release];
阅读全文