|
[原创]修改QQ执行顺序,获取QQ2008最新版密码
7.0.302.232 无效 |
|
[求助]小菜菜又来求助了 c++ if用法
很简单,把那2条语句换成2个MESSAGEBOX 然后去括号和加括号就知道执行哪些语句了 |
|
[求助]关于调用API的问题
invoke MessageBox,NULL,offset szText1,offset szCaption1,MB_ICONASTERISK or MB_YESNO if eax==6 鼠标点了yes if eax==7 鼠标点了no |
|
[求助]怎样建立一个系统模态的对话框
这里是它老家:http://www.syssafety.com/ |
|
[求助]怎样建立一个系统模态的对话框
WINDOWS的关机对话框就是如此,看图 |
|
[求助]怎样建立一个系统模态的对话框
资料上如此写: 应用程序模式对话框和系统模式对话框唯一的区别就是系统模式对话框指定DS_SYSMODAL样式.如果在一个对话框模版中包含DS_SYSMODAL样式,那么这个对话框将是系统模式的对话框. 可实际上确实如楼主所说,只不过是置顶窗体而已,莫非那里操作有问题 |
|
[原创]UPXShell--源代码
为什么呢??? |
|
[原创]Delphi之萝莉调教篇
啥子叫梦丽调教 |
|
[求助] 大家快快来帮我啊,关于日历型控件的文本框
RC文件都是通用的,拿过来直接用就可以了 |
|
[求助]我想做一个单独讨论汇编的论坛,各位大师有意见么?
WWW.AOGOSOFT.COM/BBS |
|
[求助]我用VC写了一个对话框程序,可是用鼠标点击窗体的控件时,窗体就会被关闭,不知道什么原因,对话框的函数如下:
我用DELPHI写图形界面 初步计划:用C写一些DELPHI写起来比较困难的(说不准哪天高兴,我还钟情于C) 正因为我3天打渔,2天筛网,所以我现在还是一事无成 |
|
[求助]我用VC写了一个对话框程序,可是用鼠标点击窗体的控件时,窗体就会被关闭,不知道什么原因,对话框的函数如下:
郁闷,我放弃使用VC来写图形界面程序 |
|
[求助]我用VC写了一个对话框程序,可是用鼠标点击窗体的控件时,窗体就会被关闭,不知道什么原因,对话框的函数如下:
返回TRUE也无效,点OK后,程序就退出了 |
|
[求助]我用VC写了一个对话框程序,可是用鼠标点击窗体的控件时,窗体就会被关闭,不知道什么原因,对话框的函数如下:
这个RC 无法编译(改完了) //Microsoft Developer Studio generated resource script. // #include <windows.h> #include "resource.h" ///////////////////////////////////////////////////////////////////////////// // Chinese (P.R.C.) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) #ifdef _WIN32 LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED #pragma code_page(936) #endif //_WIN32 #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE DISCARDABLE BEGIN "resource.h\0" END 2 TEXTINCLUDE DISCARDABLE BEGIN "\0" END 3 TEXTINCLUDE DISCARDABLE BEGIN "\r\n" "\0" END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Dialog // |
|
[求助]我用VC写了一个对话框程序,可是用鼠标点击窗体的控件时,窗体就会被关闭,不知道什么原因,对话框的函数如下:
谢谢: 这个问题解决了,可是新的问题出现了,当我点完OK按钮后,程序直接退出了,我OK按钮的代码 基本上都是仿MSDN做的 #include <windows.h> #include <stdio.h> #include <commctrl.h> #include <tlhelp32.h> #include "resource.h" #pragma comment(linker,"/subsystem:\"windows\" /entry:\"WinMainCRTStartup\"") #pragma comment(linker,"/out:mytest.exe") #pragma comment(lib,"User32.lib") #pragma comment(lib,"advapi32.lib") #pragma comment(lib,"comctl32.lib") LPCTSTR dllName="C:\\WINDOWS\\SYSTEM32\\msi.dll"; HINSTANCE hInstance; HWND hlist; void listevent() { HANDLE hdle; EVENTLOGRECORD *ptr; BYTE buff[1024*64]; DWORD read_len, next_len; ptr=(EVENTLOGRECORD *)&buff; hdle=OpenEventLog(NULL, "System"); if (hdle==NULL) { MessageBox(0,"打开日志失败",NULL,0); } else { long mRet; LPCTSTR lpSourceName; char lpszSourceName[255]={0}; char lpszComputerName[255]={0}; unsigned uStepOfString; char* pStrings; char szExpandedString[1024]={0}; int x; DWORD dwThisRecord; char buffer[65]; HANDLE ghResDll; char lpMsgBuf1[4096]; ghResDll = LoadLibrary(dllName); GetOldestEventLogRecord(hdle, &dwThisRecord); while(ReadEventLog(hdle,EVENTLOG_FORWARDS_READ|EVENTLOG_SEQUENTIAL_READ, 0,ptr,sizeof(buff),&read_len,&next_len)) { while(read_len>0) { lpSourceName = (LPCTSTR) ((LPBYTE) ptr + sizeof(EVENTLOGRECORD)); FormatMessage( FORMAT_MESSAGE_FROM_HMODULE, ghResDll,ptr->EventID, MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),(LPTSTR) &lpMsgBuf1,4096,NULL); SendMessage(hlist,LB_ADDSTRING,0,(LPARAM)"S"); read_len -= ptr->Length; ptr = (EVENTLOGRECORD *) ((LPBYTE) ptr + ptr->Length); } } CloseEventLog(hdle); } } LRESULT CALLBACK mainDlgProc(HWND hDlg, UINT uMsg,WPARAM wParam, LPARAM lParam) { switch(uMsg) { case WM_INITDIALOG: InitCommonControls(); //通用控件初始化 SetWindowText(hDlg,"日志读取程序"); hlist=GetDlgItem(hDlg,IDC_LIST1); return TRUE; case WM_COMMAND: switch(wParam) { case IDOK: { listevent(); return TRUE; } } break; case WM_CLOSE: EndDialog(hDlg,TRUE); break; } return 0; } int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance, LPSTR pCmdLine, int nCmdShow) { hInstance = GetModuleHandle(0); DialogBoxParam(hInstance,(LPCTSTR)IDD_DIALOG1,0,&mainDlgProc,0); return(0); } |
|
[原创]HIVE格式解析
收藏之 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值