登录
首页 » 其他 » VB API实现简单的程序窗口

VB API实现简单的程序窗口

于 2023-08-17 发布 文件大小:28.32 kB
0 108
下载积分: 2 下载次数: 1

代码说明:

VB 基于API技术实现简单的程序窗口,源码文件说明:用VB的模块模仿写的几个小例子(不用窗体)[源码]   FirstWindow   利用Win32API和消息机制显示的窗口(VB6则把一切底层操作隐藏起来)   Menu_Project   使用Res文件中的菜单资源来显示菜单,这个VB版的程序没能显示出菜单,这是两者的差异,VB6应该不能通过加载资源文件中的菜单资源来在窗口中显示菜单。   MsgWindow   先打开Windows附件中自带的Notepad记事本程序,然后在程序中将要显示的内容通过SendMessage发送到记事本中,可以通过查看记事本中的内容来了解MsgWindow的运行情况。   在程序中将收到的消息查表翻译成文本以“WM_XXX”格式显示出来,并且将调用各个API函数的过程也显示出来,这样可以分析窗口的各种行为和消息之间的关系。   SendMessage 两个程序,一个Send,一个Receive,利用SendMessage函数实现两个程序窗口间的消息互发   代码中用到了StrUtils_Change1.bas模块,来自PSC,自已做了些许修改。主要是用到了wsprintf函数,对应于Win32API函数wprintf(Win32API函数wprintf在VB中不能去调用它,调用会出错。)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 手机游戏采蘑菇源码
    手机游戏采蘑菇源码-Mushroom-source mobile phone game
    2022-07-02 18:04:00下载
    积分:1
  • 带背景音乐的动画,dos下的多任务实现
    带背景音乐的动画,dos下的多任务实现-background music with animation, dos under the multi-task to achieve
    2023-02-27 18:00:03下载
    积分:1
  • :类似SWISH 里面文字随风落下、随风飞起的效果,附带具体说明...
    :类似SWISH 里面文字随风落下、随风飞起的效果,附带具体说明-: SWISH similar characters inside wind down, and do not count the effect of the wind, with specific note
    2022-05-20 09:16:55下载
    积分:1
  • PROTEUS single
    PROTEUS单片机技术是现代电子工程领域一门迅速发展的技术,它的应用已经渗透到各种嵌入式系统中。-PROTEUS single-chip technology is the field of modern electronic engineering a rapidly evolving technology, its applications have penetrated into a wide variety of embedded systems.
    2023-01-21 00:40:04下载
    积分:1
  • This document information from the Pacific software program production, belongs...
    本文档由太平洋软件资讯栏目制作,版权归太平洋软件资讯站 及文档作者所有。制作该文档的目的是为了方便广大网友。因此任何人都可以自由复制,或在网络中散布该文档。但不允许将该文档用于出版或其它商业用途,同时使用该文档的过程中,未经允许,不得对该文档进行修改及反编译。如有问题请与我们联系谢谢!-This document information from the Pacific software program production, belongs to the Pacific station and document software for all authors. The production of the document is designed to facilitate the broad masses of netizens. Thus anyone can freely copy, or in the network to spread the document. But the document does not allow for the publication or other commercial purposes, while the use of the documentation process, without a permit, shall not modify the document and decompile. If you have any questions please contact us Thank you!
    2023-02-17 03:50:04下载
    积分:1
  • 用分支限界方法求解最淡哈密顿回路,可以球接到30以上
    用分支限界方法求解最淡哈密顿回路,可以球接到30以上-Using branch and bound method for solving the most light Hamiltonian circuit, you can receive the ball for more than 30
    2022-01-26 04:04:11下载
    积分:1
  • c interface and implementation of FOSS
    c接口与实现的源码-c interface and implementation of FOSS
    2023-07-10 17:35:03下载
    积分:1
  • 练习训练游戏,游戏规则详见源代码注释部分,全C语言编程..........
    练习训练游戏,游戏规则详见源代码注释部分,全C语言编程....... -practice training game, the rules of the game as detailed source notes, the entire C language programming ...
    2023-08-18 10:55:03下载
    积分:1
  • 用MATLAB实现LM算法库,使用时添加为工作目录,便可使用各种函数....
    用MATLAB实现LM算法库,使用时添加其为工作目录,便可使用各种函数.-LM algorithm using MATLAB realize the Treasury, when used to add its working directory, you can use a variety of functions.
    2022-03-23 07:45:42下载
    积分:1
  • 这个是sap教学文件,帮助你如果管理和配置sap系统。
    这个是sap教学文件,帮助你如果管理和配置sap系统。-This is a sap teaching files, help you if the sap system management and configuration.
    2022-07-09 14:07:36下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载