sendmessage
Get ListView item text from other window
I want to make a little application that changes the default playback device in windows 7. The only solution was to interact with the Sound Applet. I succeeded to get the handle to the SysListView32 w[详细]
2023-04-08 22:15 分类:问答SendMessage() doesn't work in one project
I tried to use this Watermark it does work correctly on my test project, but it doesn\'t work in our main project.[详细]
2023-04-07 08:53 分类:问答Get tooltips text from C# with PInvoke
I\'m using PInvoke in C#, trying to read tooltips visible in a window with a known handler, but the apps who\'s windows I try to inspect in this manner crash with memory access violation errors, or si[详细]
2023-04-06 20:38 分类:问答SendMessageA and SendMessageW in Win7 migrated from WinXP
EDIT: Working code posted below, nonworking code commented out.You must use the same CHAR_T for retrieving data from windows as you used to create them in Win7.[详细]
2023-04-04 20:14 分类:问答Send key "MediaPlayPause" to an application without setting focus to it
I am creating a program that will send media key inputs (such as Med开发者_StackOverflow社区iaPlayPause, MediaNextTrack, etc) to an application that I have the IntPtr of. Sort of like a virtual remote[详细]
2023-03-30 17:11 分类:问答How to avoid repeated SendMessage
I have a problem: I use SendMessage from a procedure in a DLL to communicate with the main window; procedure is a hook procedure that allows main window to know when mouse right button is clicked in a[详细]
2023-03-28 20:12 分类:问答A simple MPI program
I appreciate it if somebody tell me why this simple MPI send and receive code doesn\'t run on two processors, when the value of n=40(at line 20), but works for n <=30. In other words, if the messag[详细]
2023-03-28 19:24 分类:问答Can I turn off a monitor via ajax and get a response?
I\'m working on a web application that will run on a 开发者_开发百科kiosk and used via a touch screen interface. We\'re wanting to turn off the screen from an administrative page, so using Windows pow[详细]
2023-03-27 11:08 分类:问答User defined messages
Here is the code: //h file class MyClass: public CView { public: afx_msg LRESULT OnMyMess(WPARAM, LPARAM);[详细]
2023-03-23 18:37 分类:问答PostMessage does not work in Windows 7 x64
I need to simulate a keypress in game window. I try to send key \"A\", but it don\'t work: [DllImport(\"user32.dll\", SetLastError = true)][详细]
2023-03-19 07:14 分类:问答