Quantcast
Channel: Adobe Community : Popular Discussions - InDesign SDK
Viewing all articles
Browse latest Browse all 78596

How to define mouse-over event for a icon

$
0
0

Hello,

 

I have defined a icon for a panel in my plugin. I want that the icon should be changed on mouse over event.

The code for icon is given below.

 

resource PanelList (kDNDListsPaletteResourceID) {

          {

                    // 1st panel in the list

                    kDNDListsPaletteResourceID,                    // Resource ID for this panel (use SDK default rsrc ID)

                    kIBPluginPluginID,                                             // ID of plug-in that owns this panel

          #if CSVER >= 4

                    kIsResizable,

          #else

                    isResizable,

          #endif

                    kIBClientPluginDNDPanelWidgetActionID,          // Action ID to show/hide the panel

                    kIBClientPluginDNDPanelTitleKey,               // Shows up in the Window list.

                    "",                                                           // Alternate menu path of the form "Main:Foo" if you want your palette menu item in a second place

                    0.0,                                                                                     // Alternate Menu position Alternate Menu position for determining menu order

                    kPlusIconPNGIconRsrcID, kIBPluginPluginID,                                                            // Rsrc ID, Plugin ID for a PNG icon resource to use for this palette

                    c_Panel

          }

};

 

Where should I give the resourceID of the other icon?


Viewing all articles
Browse latest Browse all 78596

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>