文件名称:CustomCtrl1
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 28kb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
对已建立的控件进(实例)行子类化 MiniGUI 的控件就是一类特殊的子窗口,所以它们也有自己的过程处理函数 typedef int (* WNDPROC) (HWND, int, WPARAM, LPARAM) 。这种方式的实现其实就是替换掉已经创建了的控件原来的过程出来函数。这个函数其实是每个控件结构体变量里一个函数指针所指向的。通过函数指针指向不同的处理函数就能实现控件的不同功能已经不同的属性。再配合上每个控件的实例数据(后面再说这个东东),是不是有点像面向对象的感觉了呢 ^_^。
-Has established controls into line subclass of MiniGUI control of the (instance) is a special kind of child windows, so they also have their own process handler typedef for int (* WndProc) (HWND, int, wParam, LPARAM). The realization of this approach is in fact replace the controls have created the original process out function. This function is actually a function pointer points to each control structure variables. Through a function pointer to point to a different handler will be able to control different functions have different properties. With each control instance data (back to say this stuff), is not a bit like an object-oriented feel it ^ _ ^.
-Has established controls into line subclass of MiniGUI control of the (instance) is a special kind of child windows, so they also have their own process handler typedef for int (* WndProc) (HWND, int, wParam, LPARAM). The realization of this approach is in fact replace the controls have created the original process out function. This function is actually a function pointer points to each control structure variables. Through a function pointer to point to a different handler will be able to control different functions have different properties. With each control instance data (back to say this stuff), is not a bit like an object-oriented feel it ^ _ ^.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CustomCtrl1\app
...........\CustomCtrl1.IAB
...........\CustomCtrl1.IAD
...........\CustomCtrl1.IMB
...........\CustomCtrl1.IMD
...........\CustomCtrl1.PFI
...........\CustomCtrl1.PO
...........\CustomCtrl1.PR
...........\CustomCtrl1.PRI
...........\CustomCtrl1.PS
...........\CustomCtrl1.WK3
...........\GraphCtrl.c
...........\GraphCtrl.d
...........\GraphCtrl.h
...........\GraphCtrl.o
...........\Main.c
...........\Main.d
...........\Main.o
...........\Makefile
CustomCtrl1
...........\CustomCtrl1.IAB
...........\CustomCtrl1.IAD
...........\CustomCtrl1.IMB
...........\CustomCtrl1.IMD
...........\CustomCtrl1.PFI
...........\CustomCtrl1.PO
...........\CustomCtrl1.PR
...........\CustomCtrl1.PRI
...........\CustomCtrl1.PS
...........\CustomCtrl1.WK3
...........\GraphCtrl.c
...........\GraphCtrl.d
...........\GraphCtrl.h
...........\GraphCtrl.o
...........\Main.c
...........\Main.d
...........\Main.o
...........\Makefile
CustomCtrl1