I still think my idea is the best solution. It's simple, works and just plain makes sense. You want to know when an areas is clicked without having a button visible so just lose the button and track the sclick yourself.

I loaded your dialog with the icon lines omitted and tossed this code in and it worked great tracking the clicks in those areas only.
Code:
on *:dialog:dj:sclick:*:{ 
  if ($inrect($mouse.x,$mouse.y,21,225,75,25)) { echo -s Success 1 }
  if ($inrect($mouse.x,$mouse.y,300,223,75,25)) { echo -s Success 2 } 
}

I really have a hard time understanding why I give you a perfectly good solution and you basically just don't want to use it.

The $mouse and related identifiers/commands may be listed with the picwin information but they are by no means limited to that.

Good luck.


I've gone to look for myself. If I should return before I get back, please keep me here.