Results 1 to 5 of 5

Thread: bindkey / mouseclick

  1. #1
    SS Guest

    bindkey / mouseclick

    Hello,
    I want a function to behave differently when I click on
    an object with the three mouse clicks(left right and middle).

    This is what Iam trying to do.

    I am using "geSingleSelectPoint" to select a point and a reference
    point.
    The function should perform a different operation based on the mouse
    click I use to select reference point. geSingleSelectPoint recognizes
    only left mouse click and not middle or right click.

    Can anyone tell me what I should be doing ?


    thanks,
    Sriram

  2. #2
    Bernd Fischer Guest
    hiSetBindKey( [t_applicationType] [t_key] [t_skill_cmd] )

    where "None<Btn1Down>" is t_key for the left mouse button once
    "None<Btn2Down>" middle and "None<Btn3Down>" right.

    Bernd

    SS wrote:
    Hello,
    I want a function to behave differently when I click on
    an object with the three mouse clicks(left right and middle).

    This is what Iam trying to do.

    I am using "geSingleSelectPoint" to select a point and a reference
    point.
    The function should perform a different operation based on the mouse
    click I use to select reference point. geSingleSelectPoint recognizes
    only left mouse click and not middle or right click.

    Can anyone tell me what I should be doing ?


    thanks,
    Sriram

  3. #3
    SS Guest
    Bernd,
    I set the bindkeys inside the function. However when I
    click the middle button or right button on the layout the default
    operation is performed (mousepopup and cmd0option)and not the skill
    command I specify in the bindkey.

    could you tell me where Iam going wrong.

    thanks,
    Sriram

  4. #4
    Bernd Fischer Guest
    I suppose the bindkey should call the function and not the other
    way around.
    I would create three functions and bind each of them to the
    appropriate mouse button.

    Bernd


    SS wrote:
    Bernd,
    I set the bindkeys inside the function. However when I
    click the middle button or right button on the layout the default
    operation is performed (mousepopup and cmd0option)and not the skill
    command I specify in the bindkey.

    could you tell me where Iam going wrong.

    thanks,
    Sriram

  5. #5
    SS Guest
    Bernd,
    I want to set the bindkeys inside a function. The reason I
    want to do this is because I want to unset the bindkeys when the
    function is not called. The bindkeys will call the three different
    functions based on the selection. However I am able to do it from
    ciw->options->bindkey.

    This is what I am doing .
    Building stretchbyrule movebyrule and copybyrule. I want to override
    stretchbyrule/movebyrule/copybyrule and do a different operation when a
    right click or middle click is selected.

    thanks,
    Sriram

    Bernd Fischer wrote:
    I suppose the bindkey should call the function and not the other
    way around.
    I would create three functions and bind each of them to the
    appropriate mouse button.

    Bernd


    SS wrote:
    Bernd,
    I set the bindkeys inside the function. However when I
    click the middle button or right button on the layout the default
    operation is performed (mousepopup and cmd0option)and not the skill
    command I specify in the bindkey.

    could you tell me where Iam going wrong.

    thanks,
    Sriram

Similar Threads

  1. Replies: 0
    Last Post: 12-09-2005, 05:10 PM
  2. Replies: 2
    Last Post: 08-11-2005, 01:10 AM
  3. Create a bindkey to switch between append mode and read-only
    By Svenn Are Bjerkem in forum Cadence
    Replies: 1
    Last Post: 01-27-2005, 02:02 AM
  4. VXL Bindkey cheatsheets?
    By Edward Lawrence in forum Cadence
    Replies: 1
    Last Post: 12-20-2004, 10:52 AM
  5. 2 function bindkey unfuctional in IC5141?
    By Erik Wanta in forum Cadence
    Replies: 6
    Last Post: 09-13-2004, 07:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum