how get Mouse events in cocoa?

Discussion in 'Apple' started by Yabber, Nov 30, 2006.

  1. Yabber

    Yabber Guest

    Have any methode to capture mouse event from a NSOutLineView?
    What r to be done to get right mouse click event in textview
    Can somebody give me some hint ?
    I read all cocoa texts,but it didnt got work,please giv me an

    Excuse my language
    With thanks
    Yabber, Nov 30, 2006
    1. Advertisements

  2. Yabber

    David C. Guest

    You'll probably get better results posting to a programmer group. And
    if you learn to spell.

    As for the answer to your question, you obviously didn't "read all cocoa
    texts", because you missed the obvious answer, which is in the API
    documentation that comes bundled with Xcode.

    NSOutlineView inherits from NSResponder. Go to the documentation (from
    the Help menu in Xcode) and read up on NSResponder's Event methods.

    -- David
    David C., Nov 30, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.