Welcome![Sign In][Sign Up]
Location:
Search - vb PostMessage

Search list

[Windows DevelopVBSendText

Description: VB进程间通讯演示(1.0) 说明:一共四个演示。分别如下: 1:Sample 一个简单的使用了共享内存映射的例子,运行两个实例看看就知道,没有什么特别。 2:SendText 不用窗口子类化,而达到和发送自定义消息同样的效果。 3:SendFile 由于演示2中还是通过发消息来传递字符串,不可能传递大块文本,本例综合演示1和演示2达到传递大块文本的功能。 4:Chat 演示2和演示3使用的都是SendMessage来发放通知消息,所以不能异步通讯,SetWindowText不能跨进程使用,PostMessage只能在WM_USER以上的自定义消息中才能传递指针,那么如何才能异步通讯呢?我还没有好主意,就用定时器吧!看看这个可以聊天的程序就知道了。 Common目录下有四个模块。其中ShareStr2.cls是原来大师Bruce MicKenney写的东西,就是这个东西害我浪费很多时间来调试。-VB inter-process communication demo (1.0) Note : A total of four demonstration. Respectively, as follows : 1 : Sample a simple use of shared memory mapping example, look at the operation of two examples, we know that nothing special. 2 : SendText not window-type, and to achieve this definition of news from the same effect. 3 : As demonstrated SendFile 2 updates, or to pass through the string, not send bulk text, the cases demonstrate a comprehensive and demonstration to send two large text functions. 4 : Chat demonstration two and three demonstration SendMessage are used to notify the news release, it is not asynchronous communications, inter-process SetWindowText not use PostMessage WM_USER only in the above-defined messages can transfer target, then how can asynchronous communication? I
Platform: | Size: 52250 | Author: gy | Hits:

[Windows DevelopVBSendText

Description: VB进程间通讯演示(1.0) 说明:一共四个演示。分别如下: 1:Sample 一个简单的使用了共享内存映射的例子,运行两个实例看看就知道,没有什么特别。 2:SendText 不用窗口子类化,而达到和发送自定义消息同样的效果。 3:SendFile 由于演示2中还是通过发消息来传递字符串,不可能传递大块文本,本例综合演示1和演示2达到传递大块文本的功能。 4:Chat 演示2和演示3使用的都是SendMessage来发放通知消息,所以不能异步通讯,SetWindowText不能跨进程使用,PostMessage只能在WM_USER以上的自定义消息中才能传递指针,那么如何才能异步通讯呢?我还没有好主意,就用定时器吧!看看这个可以聊天的程序就知道了。 Common目录下有四个模块。其中ShareStr2.cls是原来大师Bruce MicKenney写的东西,就是这个东西害我浪费很多时间来调试。-VB inter-process communication demo (1.0) Note : A total of four demonstration. Respectively, as follows : 1 : Sample a simple use of shared memory mapping example, look at the operation of two examples, we know that nothing special. 2 : SendText not window-type, and to achieve this definition of news from the same effect. 3 : As demonstrated SendFile 2 updates, or to pass through the string, not send bulk text, the cases demonstrate a comprehensive and demonstration to send two large text functions. 4 : Chat demonstration two and three demonstration SendMessage are used to notify the news release, it is not asynchronous communications, inter-process SetWindowText not use PostMessage WM_USER only in the above-defined messages can transfer target, then how can asynchronous communication? I
Platform: | Size: 52224 | Author: gy | Hits:

[Hook apipostmessage_API

Description: VB对指定窗口进行后台模拟键盘鼠标信息的操作.-VB on the specified window to the background simulation of the operation of keyboard and mouse information.
Platform: | Size: 2048 | Author: Kewain | Hits:

[Windows DevelopPostMessage_VB_based_window_manager_code

Description: 基于PostMessage的VB窗口管理器源代码PostMessage in VB based window manager source code-PostMessage in VB based window manager source code
Platform: | Size: 7168 | Author: i | Hits:

[Game Hook CrackMapleStory

Description: 冒险岛的后台按键,VB版的,运用了POSTMESSAGE等API函数,希望大家多多支持-Adventure Island in the background button, VB version, use a POSTMESSAGE other API functions, hope you can
Platform: | Size: 6144 | Author: 留多 | Hits:

[Process-Threadpostmessage

Description: 在vb程序之间,在vc和vb程序之间传递自定义消息,实现进程间的通讯-examples about how to transport messages between vb and vc,vb and vb processes
Platform: | Size: 41984 | Author: 大鱼 | Hits:

[Windows Developwindowmgr

Description: 基于PostMessage的VB窗口管理器源代码,有需要的就下载吧。-PostMessage window manager based on the VB source code, there is a need to download it.
Platform: | Size: 6144 | Author: 桂花翅子 | Hits:

[.netpostmessage-example

Description: 在VB.NET中用postmessage向记事本写内容-Use "postmessage" statement to write content to notepad in VB.NET.
Platform: | Size: 72704 | Author: 杨芳沛 | Hits:

[Process-Threadvb-postmessage

Description: 打开windwos自带的记事本程序,点击按钮,后台向记事本发送键盘信息-Windwos open Notepad program, click the button to send back the information to the notebook keyboard
Platform: | Size: 2048 | Author: wen | Hits:

[OS programvbSendMessage

Description: VB进程通信的例子,Sendmessage,postmessage-Examples of VB-process communication
Platform: | Size: 29696 | Author: llp | Hits:

[VC/MFC222

Description: Public Function Hook_Func(ByVal iCode As Long, ByVal wParam As Long, ByVal lParam As Long) As Long Select Case iCode Case HCBT_CREATEWND Case HCBT_DESTROYWND Case HCBT_ACTIVATE Dim WinText As String Dim ClsName As String 获取窗口标题及类名 WinText = GetWindowTextString(wParam) ClsName = GetGetClassNameString(wParam) Debug.Print ClsName, GetWindowTextString(wParam) VB的弹窗类名 If ClsName = #32770 Then 发送关闭消息 PostMessage wParam, WM_CLOSE, 0, 0 End If End Select Hook_Func = CallNextHookEx(hHook, iCode, wParam, lParam) End Function-Public Function Hook_Func(ByVal iCode As Long, ByVal wParam As Long, ByVal lParam As Long) As Long Select Case iCode Case HCBT_CREATEWND Case HCBT_DESTROYWND Case HCBT_ACTIVATE Dim WinText As String Dim ClsName As String 获取窗口标题及类名 WinText = GetWindowTextString(wParam) ClsName = GetGetClassNameString(wParam) Debug.Print ClsName, GetWindowTextString(wParam) VB的弹窗类名 If ClsName = #32770 Then 发送关闭消息 PostMessage wParam, WM_CLOSE, 0, 0 End If End Select Hook_Func = CallNextHookEx(hHook, iCode, wParam, lParam) End Function
Platform: | Size: 14336 | Author: renchao | Hits:

[Game ProgramMapleStory

Description: 冒险岛的后台按键,VB版的,运用了POSTMESSAGE等API函数,希望大家多多支持-Adventure Island in the background button, VB version, use a POSTMESSAGE other API functions, hope you can
Platform: | Size: 5120 | Author: reitthe | Hits:

[OtherVB鼠标按键精灵

Description: VB鼠标按键精灵(VB模拟出的按键精灵大部分功能)(Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long) Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Private Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long Private Declare Function GetDC Lib "user32" (ByVal Hwnd As Long) As Long Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal Hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long)
Platform: | Size: 93184 | Author: 大牛12345 | Hits:

CodeBus www.codebus.net