Thread: Embed browser dont receives mouse "click" events

  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    2

    Question Embed browser dont receives mouse "click" events

    Hello folks!
    I gotta a crazy "bug" that is driving me crazy!
    I'm programming an Itunes plugin for windows.
    The point of my plugin is to show an embed browser in the plugin's window(HWND).
    Nowadays it shows the browser and I can go to websites, and so on. But there's on problem... The embed browser cant get the mouse input events. It gets the keyboard events, but the mouse "click" events it just ignores.
    I'm thinking that the Itunes is getting the mouse click events and consuming them.
    Anyone knows how can I resolve this?
    Maybe there's some way to get the mouse events and redirect them to the plugin's window.

    Please help me.
    kkkk

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Have you looked at WM_PARENTNOTIFY msgs?
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    2
    Yep, I looked a lot at it, but every thing that I do fail.
    I've tried to use setCapture(), passing the pointer to the window of my embed browser, but when I click i crashes the app.

    O.o

    And more, I tried to use releaseCapture(), after i used setCapture() to my embed windows and after I tried so simulate a mouse event.
    Nothing... the mouse moves... but no click, mouse over works perfectly, but no clicks...
    Last edited by aniquilator; 01-25-2010 at 09:45 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mouse Events
    By tezcatlipooca in forum Windows Programming
    Replies: 2
    Last Post: 01-24-2008, 02:33 PM
  2. Watch for mouse events
    By belhifet in forum Linux Programming
    Replies: 2
    Last Post: 04-10-2007, 11:12 AM
  3. Mouse Events
    By disruptor108 in forum C# Programming
    Replies: 0
    Last Post: 01-23-2007, 11:40 PM
  4. API for mouse events?
    By jsimpson in forum C Programming
    Replies: 0
    Last Post: 03-08-2006, 11:38 PM
  5. Mouse Events
    By Jubba in forum Windows Programming
    Replies: 1
    Last Post: 10-30-2003, 12:03 PM