Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

Sandro Stella

@Sandro Stella
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Windows remote control ? Need help..
    S Sandro Stella

    I'm developing a simple remote control app. To command the remote PC I use some simple API call: SetCursoPos(x,y) to set Cursor position. WindowFromPoint(x,y) to get the handle of the Window under the screen coordinates x,y. Then I send messages like WM_LBUTTONDOWn and WM_LBUTTONUp to command the window, this works, but I have a problem to open the menu bar of the remote winodw. I know that when the cusror is over the non client area of window I must send the message WM_NCLBUTTONDOWN, and this is what I do, but it doesn't , works! When the cursor is over the window menu bar and I send WM_NCLBUTTONDOWN, I expect that the Menu is opened, but it doesn't. Using SPY I knwo that this is the message that is sent to the window when you press the left mouse button over the nonclient area of the window ( the menu bar ). Any idea about what I must do to in this situation ?

    Article Writing help json question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups