Questions tagged [sendmessage]

Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.

Sends the specified message to a window or windows. The SendMessage function calls the window procedure for the specified window and does not return until the window procedure has processed the message.

Official documentation.

943 questions
-2
votes
2 answers

C++ Why Sendmessage doesnt work?

In C#, this SendMessage function raise up volume successfull: [DllImport("user32.dll")] public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam); SendMessage(Handle, 0x319, (int)Handle, APPCOMMAND_VOLUME_UP); But in…
NoName
  • 7,940
  • 13
  • 56
  • 108
-2
votes
1 answer

SendMessage and FireFox/IE/Webbrowser

Is it possible to SendMessage to HTML Controls inside a Webbrowser component? If so, how can I get their HWND? I've been struggling with Spy++ and WINID, and I couldn't access those controls HWND.
H_DANILO
  • 321
  • 1
  • 9
-2
votes
2 answers

send message using codeIgniter and php

I am using webaroo api for sending message, I am new in this field, please guide me how to use this api to send message. Here is the api :-
avinashse
  • 1,440
  • 4
  • 30
  • 55
-3
votes
1 answer

COPYDATASTRUCT, WM_COPYDATA

I'm trying to send Data between two programs using WM_COPYDATA but i have a problem in the definition of COPYDATASTRUCT; Here is the error: Here's the code: #include #include #include #include #include…
Raouia
  • 1
  • 2
-3
votes
2 answers

WINAPI SendMessage to a hWnd in a specific area

So basically I got a Window Handler which is a Pic(rectangular shape) that contains like 16 slots. Well, so I want to use SendMessage to this hWnd and giving a keyPressed as a message to the first and to the second slot (since they are not…
xBurnsed
  • 410
  • 4
  • 12
-3
votes
1 answer

Are there any dangers of using Windows API calls in C#

I want to watermark a textbox, and found several different ways of doing it, but one that I liked uses SendMessage and an external DLL. However, I think I heard somewhere that doing it this way can cause BSOD since it isn't managed. Is this true, or…
Arlen Beiler
  • 15,336
  • 34
  • 92
  • 135
-3
votes
1 answer

Reliably find Notepad++ window handle

I want to use some SCINTILLA SendMessage() to an open notepad window(s), but I am not sure how to reliably get Notepad++ opened window handles.
exebook
  • 32,014
  • 33
  • 141
  • 226
-4
votes
1 answer

CallWindowProc failed with value 5

I want to control other running programs directly by CallWindowProc instead of SendMessage, there is my code: #define UNICODE #include #include int main(){ HWND hwnd; scanf("%d", &hwnd); WNDPROC l =…
Lyronx L
  • 13
  • 5
-4
votes
1 answer

Wait for message delivered to MainWindow sent using SendMessage API

The application has multiple process,Process communicate through IPC. Main process is written in C# and has Windows form and DefWndProc. Another process sends the message to main process window through SendMessage API,however messages are not…
cc125
  • 13
  • 1
  • 5
-4
votes
2 answers

How can I send a message to specific users phone by using Python?

I have established a relationship between PostgreSQL and Python. I provide that send e-mail to a user with used Python. I want to send a message to specific user's phone. I shared a part of my code: Enter image description here
-5
votes
2 answers

Converted .apk from .jar

I have a Java program which can send messages and it is working when I installed my program as .jar application in my Java application phone, the next day I converted .jar to .apk (Android), and save it to ipad, but when I am going to open it,it…
Thinkerbelle
  • 749
  • 3
  • 9
  • 17
1 2 3
62
63