1.MessageBox() 引用自(http://www.douban.com/note/40199603/)一 函数原型及参数 function MessageBox(hWnd: HWND; Text, Caption: PChar; Type: Word): Integer; hW...
分类:
编程语言 时间:
2015-11-27 10:56:58
阅读次数:
136
原型参数编辑注意事项:使用该函数时,需添加该头文件:[1]#include ShellExecute函数原型及参数含义如下:ShellExecute(hWnd: HWND; {指定父窗口句柄}Operation: PChar; {指定动作, 譬如: open、runas、print、edit、exp...
分类:
系统相关 时间:
2015-11-25 13:34:24
阅读次数:
1382
shfileoperation:是一种外壳函数,用它可以实现各种文件操作,如文件的拷贝、删除、移动等,它只有一个指向SHFILEOPSTRUCT结构的参数。SHFILEOPSTRUCT结构说明typedef struct _SHFILEOPSTRUCT {HWND hwnd;UINT wFunc;P...
分类:
其他好文 时间:
2015-11-24 12:56:16
阅读次数:
136
windows API的MessageBox还是蛮好玩的吧,而且也比较常用嘛,下面就简单介绍一下。int WINAPI MessageBox(HWND hWnd,LPCTSTR lpText,LPCTSTR lpCaption,UINT uType); 第一个参数传递父窗口句柄,没有的话就用N...
分类:
其他好文 时间:
2015-11-23 14:47:36
阅读次数:
177
SetTimer函数的用法 1)用WM_TIMER来设置定时器 先请看SetTimer这个API函数的原型 UINT_PTR?SetTimer(??????????????
????????HWND?hWnd,//和定时器相关联的窗口?????
??????...
分类:
编程语言 时间:
2015-11-17 17:10:18
阅读次数:
474
*图形类型*图像Hwnd:=3600read_image(Image, 'fabrik')disp_obj(Image, Hwnd)*region 区域gen_rectangle1(Rectangle, 30, 20, 100, 200)*xld 轮廓gen_contour_region_xld(R...
分类:
其他好文 时间:
2015-11-12 11:26:11
阅读次数:
266
#include?<windows.h>
?
LRESULT?CALLBACK?WndProc(HWND,?UINT,?WPARAM,?LPARAM);
?
HINSTANCE?hInst;
?
/*?The?‘main‘?function?of?Win32?GUI?programs:?this?is?where?execution?starts?...
分类:
其他好文 时间:
2015-11-11 00:02:16
阅读次数:
255
#include?<windows.h>
?
LRESULT?CALLBACK?WndProc(HWND,?UINT,?WPARAM,?LPARAM);
?
HINSTANCE?hInst;
?
/*?The?‘main‘?function?of?Win32?GUI?programs:?this?is?where?execution?starts?...
分类:
其他好文 时间:
2015-11-10 07:10:14
阅读次数:
253
#include?<windows.h>
LRESULT?CALLBACK?WndProc(HWND,?UINT,?WPARAM,?LPARAM);
HINSTANCE?hInst;
/*?The?‘main‘?function?of?Win32?GUI?programs:?this?is?where?execution?starts?*/
in...
分类:
其他好文 时间:
2015-11-09 02:01:28
阅读次数:
297
#include?<windows.h>
LRESULT?CALLBACK?WndProc(HWND,?UINT,?WPARAM,?LPARAM);
HINSTANCE?hInst;
/*?The?‘main‘?function?of?Win32?GUI?programs:?this?is?where?execution?starts?*/
in...
分类:
其他好文 时间:
2015-11-08 12:47:13
阅读次数:
234