![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
文章平均质量分 77
cyrx2003
这个作者很懒,什么都没留下…
展开
-
进程防杀与屏蔽WIN 、alt+tab、ctrl+esc等键的方法
//DLL文件//GHook.cpp#define _WIN32_WINNT 0x0400#include #include "HookAPI.h"#include typedef HANDLE (_stdcall *OPENPROCESS_PROC)(DWORD, BOOL, DWORD);OPENPROCESS_PROC pOpenProcess = NULL;HWND g_h原创 2007-08-23 23:12:00 · 2591 阅读 · 0 评论 -
关于CTreeCtrlr的=NM_DBLCLK、=NM_RCLICK的用法
//判断双击的ITEM是否有父ITEM,如果有,弹出聊天窗口;否则,则展开或收缩ITEMvoid CIMTree::OnDblclk(NMHDR* pNMHDR, LRESULT* pResult) { // TODO: Add your control notification handler code here //MessageBox("d"); //判断是否是你项目,如果是父项目,则不原创 2007-08-23 23:25:00 · 4978 阅读 · 0 评论 -
半透明或过滤某种颜色的实现
BOOL SetLayeredWindowAttributes( HWND hwnd, // handle to the layered window COLORREF crKey, // specifies the color key BYTE bAlpha, // value for the blend function DWORD dwFlags // action ); Windo转载 2007-08-23 23:32:00 · 867 阅读 · 0 评论 -
输出信息到DEBUGVIEW窗口
TRACE宏对于VC下程序调试来说是很有用的东西,有着类似printf的功能;该宏仅仅在程序的DEBUG版本中出现,当RELEASE的时候该宏就完全消息了,从而帮助你调式也在RELEASE的时候减少代码量。使用非常简单,格式如下:TRACE("DDDDDDDDDDD");TRACE("wewe%d",333);同样还存在TRACE0,TRACE1,TRACE2。。。分别对应0,1,转载 2008-04-01 14:39:00 · 5331 阅读 · 0 评论 -
大整数乘法
大整数乘法int mul(int l1,int l2,int a1[101],int a2[101],int c[202]){//计算a1与a2的乘积,结果保存到c中,返回c的长度 int i,j; int y;//进位 int x;//乘积 int z;//余数 int w;//乘积结果的保存位置 for(i=0;i<=100;i++)转载 2008-07-11 21:37:00 · 556 阅读 · 0 评论