文件名称:Project1
-
所属分类:
- 标签属性:
- 上传时间:2014-05-12
-
文件大小:2.58kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在编写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
MSSCCPRJ.SCC
Project1.vbp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.