View Single Post
  #2  
Unread 11-07-2005, 11:12 PM
SOE_Bobble SOE_Bobble is offline
EQII Developer
Yes this person is from Daybreak!
 
Join Date: Aug 2004
Posts: 82
Default Clickthrough and UIBuilder vs the Game

The "clickthrough" flag on a window lets the game know that it should still process mouse events even if there is some UI element that can absorbs input under the cursor. Previously, only the chat window had code to support clickthrough. With LU #16, all windows can inherit the behavior. This description oversimplifies the code just a bit but will just have to do.


In your inventory window, look for the "AbsorbsInput" property. Or rather that lack of it as the default value is true. That might just work. Or it might not be what you want at all.

You may want to look at the "Enabled" property too. One secret to getting tooltips for static text that you don't otherwise want to get input is to set Enabled=false. But this is mostly a note for my future self to improve a few existing windows that ought to have tooltips.


If you want to override the "AbsorbsInput" property with clickthrough enabled, add the previously undocumented property clickthrough=true to a widget. I can't promise that it works (too late tonight to confirm it with a sample) but that was the intent.

Windows (a Page one level under a Module) get this applied automagically, which is how the new clickthrough feature works.

Bobble
Reply With Quote