Windows > Third Party Plug-ins, Programs, and Skins

Playing Now Popup-what is the command for a button to "close" the PNP? [solved]

(1/1)

markf2748:
I want to put a small "x" Close Button in the upper right corner of the PNP, i.e. the same action as <CTRL>+i and RMB>Close when this "x" button is pressed with LMB.

The 3-state button is easy to create, but what command do I code into it?

cncb:
"30033" will toggle it.  There is not a specific "close", but it can be added.

markf2748:

--- Quote from: cncb on April 09, 2025, 09:28:01 am ---"30033" will toggle it.  There is not a specific "close", but it can be added.
--- End quote ---
Thanks - you beat me to it!  Woke up this morning thinking it must be in Resource.xml, and sure enough...  :)

The toggle is what I am after - works nicely.  I'll try hiding the "x" until mouseover in the upper right corner and see if I like it.  I've been wanting that quick one-click shortcut for a while now.

markf2748:
Using minimize "-" instead of "x" button.  Screenshots and zip archive for the PNP attached.

Navigation

[0] Message Index

Go to full version