View Single Post
04-13-09, 07:28 PM   #2
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
You should have something along these lines:

Code:
function DataObj:OnClick(button)
        if button == "RightButton" then
                if IsControlKeyDown() then
                        DoControlStuff()
                else
                        ShowYourTooltip()
                end
        else
                WhateverElse()
        end
end
As the author of LibQTipClick, I should point out that its official forum is here
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote