Thread Tools Display Modes
04-25-06, 11:23 PM   #1
evolve
A Kobold Labourer
Join Date: Apr 2006
Posts: 1
Making frame able to be clicked through

I've created a basic custom health/mana bar as my first simple addon. I've been able to figure out how to make it movable and how to take in commands to make it lockable/unlockable.

However I'd love to be able to make it so when the bar is locked, when you click on it the mouse takes no effect and will act as usual (IE allowing you to either strafe or move the camera around).

I think I need to use Frame:EnableMouse(enableFlag) where the enableFlag is either true or false...however it does not seem to be working...

Am I simply using the function wrong?
  Reply With Quote
04-25-06, 11:32 PM   #2
Iriel
Super Moderator
WoWInterface Super Mod
Featured
Join Date: Jun 2005
Posts: 578
That should be all you need, you may try also using SetMovable and SetResizable?
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Making frame able to be clicked through


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off