文件名称:Project1
- 所属分类:
- Shell编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2014-05-12
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- ha***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在编写B/S程序时,有时往往需要获取或设置控件中光标的位置,以便于对控件进行进一步的子类化,可是HTML中的标准控件没有HWND,也无明显相关的属性,实现起来有点复杂,俺曾经为这个问题苦恼了好长时间,在网上搜索也得不到答案,后来经过几天的实验,才发现其实只需要基于DOM就可以实现,为了让朋友们少走弯路,故把代码贴出来,并附上一个基于此代码对INPUT 控件进行子类化的实例(实现HTML文本的货币输入和显示)。-In the preparation of B/S program, sometimes or often need to get control of the cursor position is set so as to control further subclass, but the standard HTML controls no HWND, no significant correlation properties to achieve a bit complicated, I have worried for this problem for a long time, the search is also not the answer, then after a few days of the experiment, only to find out that only need-based DOM can be achieved, in order to make friends, detours, so the code stickers, attach a code based on the iNPUT controls subclass instances (to achieve monetary HTML text input and display). I ve seen a lot of code, after reading the image data from the ACCESS database, often need help to convert a temporary file to display, in fact, by means of API, can be displayed directly, without the need for temporary files, in addition, we can also use OleCreatePictureIndirect function transfer image data into a standard IPicture interfaces to achieve automatic image display VB and persistent,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Form1.frm
MSSCCPRJ.SCC
Project1.vbp