How to set a mouse on an icon event of

Hello

I set an icon for a Panel in my plugin. I want to replace the mouse during the event icon.

The icon code is listed below.

resources speaker (kDNDListsPaletteResourceID) {}

{

1 group in the list

kDNDListsPaletteResourceID, / / resource ID for this Panel (use SDK by default ID rsrc)

kIBPluginPluginID, / / ID of the plugin which holds this Panel

#if CSVER > = 4

kIsResizable,

#else

isResizable,

#endif

kIBClientPluginDNDPanelWidgetActionID, / / Action ID to show/hide Panel

kIBClientPluginDNDPanelTitleKey, / / appears in the list window.

"", / / Substitute the form menu path ' hand: Foo "If you want your palette in the second menu item to place

0.0, / / menu replacing the position of the alternative Menu to determine the order of the menu

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

c_Panel

}

};

Where should I give the other icon resource ID?

As you have noticed these resource ID are the same. I use it to make the code more readable.

Skip the part of the name of the resource change and just add define icon resources.

And then it will work.

you have a few samples in the SDK software where you can check the implementation of icons on panels

NFSP (kPlusIconPNGIconRsrcID) resources '... / res/icons/PLUS_ICO_23_I.png ' / / inactive icon

PNGR (kPlusIconPNGIconRsrcID) resources '... / res/icons/PLUS_ICO_23_A.png ' / / Active icon

Bartek

Tags: InDesign

Similar Questions

  • How to set the service Navigation bar icon

    Hi all

    I use jdev 11.1.2.4.0

    I have created an application which have two features my question is, how put icon on Navigation bar for these features?

    I created a folder public html-> resources-> images (where there are images of icons)

    but when I go to put the Navigation icon by using the Browse button is not shown my file.

    Thank you

    Manish

    Sorry my mistake...

    I was clicking on the "Lifecycle event listener" icon just above the Navigation button icon browse by mistake.

    Thank you for helping me.

  • How to set a default calendar for new events in the calendar on Macbook Pro

    Although I have studied this issue in forums, I'm still without resolution. New default event for the calendar of 'Calendar' in the game on my Mac of calendars even when it is initially unchecked and hidden in the calendars list.

    I don't see a place in the calendar preferences or in system preferences > iCloud to make changes. I would like new events, write in the default calendar for "Calendar" calendar in my iCloud.com account.

    Any thoughts?

    Well, here's the scoop:

    To set the default calendar, open the calendar, choose calendar > Preferences, and then click general.

    Default calendar

    The calendar where new events are added by default. If you choose "Selected calendar", then the calendar highlight in the calendar list is the default calendar.

  • How to set or keep a background image in my application at the beginning of the application that is, after clicking on the application icon.

    How to set or keep a background image in my application at the beginning of the application that is, after clicking on the application icon.

    I have developed a BB 7.0 BONE HTML5 / web app in which I want to include background image.

    Please guide me.

    Take a loot of rim: loadingScreen on config.xml http://developer.blackberry.com/html5/documentation/rim_loadingscreen_element_834680_11.html

  • How to set remote spaced further icon to display more text for the name below?

    Windows 7 desktop has many icons with similar names. I want that name under the icon. How to set remote spaced further icon to display more text for the name below?

    Right-click on the desktop and select Personalize.

    Select the color of the window

    Select the appearance settings advanced.

    Select the drop down next to the element

    Go down and select icon spacing (Vertical)

    change spacing next to size according to the needs.

  • How stop list tabs when I move the mouse over the icon in the task bar of Firefox?

    After the upgrade to FF6.01 and play a little with the new groups tab feature, now whenever I have pass the mouse on taskbar icon, all tabs are presented separately. I would go back to show only one tab open the Firefox browser.

    In the Firefox options and the tabs Panel, see if you see the tab found in the Windows taskbar archived.

  • When I right click of my mouse on an icon on the desktop, Adobe wants to install

    When I right click of my mouse on an icon on the desktop, Adobe wants to install.  How can I keep it from happening?

    Hi DarrylPranger,

    1. did you of recent changes on the computer?

    2 when was the last time it was working fine?

    3. only happens with the desktop icons?

    4. He's trying to install Adobe flash player or Adobe reader?

    Method 1

    I suggest you uninstall flashplayer from adobe completely from the computer and then reinstall the latest version and check if this solves the problem.

    Note: If his tent to install adobe reader may uninstall and reinstall.

    Uninstall Flash Player

    http://kb2.Adobe.com/CPS/141/tn_14157.html

    Download the latest version of adobe flash player

    http://get.Adobe.com/flashplayer/

    Methode2

    It is possible that some third-party programs installed on the computer is causing the problem.

    I suggest that you put the computer in a clean boot state and check if it helps.

    To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    See the link below to learn more about how to clean boot.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    (a) click Start, type msconfig in the search box and press ENTER.

    (b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.

    (c) under the general tab, click the Normal startup option, and then click OK.

    (d) when you are prompted to restart the computer, click on restart.

  • How can I get the Extension toolbar icon to display the image without text (without affecting the other icons universally)? How can I change the text of the icons (except space)?

    «In the drop-down view menu, you can choose what to display toolbars: icons, text, or icons and text together.» By default, Firefox shows icons only. "Is it possible to choose a setting for a specific toolbar icon to be icon only (no text) without affecting all the other icons on the toolbars universally?

    Second, is there a way to edit the text on a toolbar button by another extension (because it takes up too much horizontal space in the toolbar because of the amount of text)? I do not know how to locate the xpi file and open it with Notepad, but then it is mainly (not English) code & FIND is not to search the text of the button (to change).

    These 2 questions should apply to the buttons of the Extension in general. However IF it makes a difference I'm talking for the toolbar button back to 7.0 top of the page that says 'Go to top/bottom '. I would like to at least change on "Go to", but my questions also apply to the other buttons Extension. I realize that it may be necessary to redo a fix/change whenever there is an update? Thank you.

    You should always see this icon that only the text of the label could be hidden.

    You can try this code in the file userChrome.css below default @namespace.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    toolbar[mode="full"] #b2tTBUnicon { min-width:0px !important; }
    toolbar[mode="full"] #b2tTBUnicon .toolbarbutton-icon { margin-top:-20px !important; }
    toolbar[mode="full"] #b2tTBUnicon .toolbarbutton-text { display:none !important; }
    
  • When I point my cursor of the mouse on an icon a buble appears. but the bubble is now purple

    When I point my cursor of the mouse on an icon a buble appears. Normally it would display information on the icon, but I was playing around with the settings and the bubble is entirely purple and I just can't understand how change it back does everyone want to know

    Hello

    I suggest you to follow these steps and check if that helps:

    1. Right-click on the desktop where there is no icons. Select Properties.
    2. Click on the appearance of the display properties dialog box tab.
    3. Click the Advanced button near the lower right corner of the display properties dialog box to open the Advanced Appearance dialog box.
    4. Select ToolTip in the drop-down list of items.
    5. Select a color in the box for Color1 to change the background color of advanced tool. Select a color from the color to the right of the police box to change the font color of advanced tool.
    6. Click OK to apply the changes. Close the open dialog boxes

    It will be useful.

  • How can I keep my clock and icons when I go from desktop to a Web page?

    Original title: XP Home Edition SP3.

    The clock and icons displayed in my taskbar, when I'm at the top of the desktop, do not remain when I go on a web page. Only the zoom feature is displayed. How can I keep my clock and icons when I go from desk top of the page to any web page?

    THAT IS TO SAY 8. I should have kept my question as follows: and not to lose the full screen setting, I chose in the TOOLS. I think I should use F11 to choose between full screen or clock & icons.

  • MN - 700 router worked for a while (over 3 years) without password. How to set a password? __

    MN - 700 router worked for a while (over 3 years) without password. How to set a password?

    MN - 700 router worked for a while (over 3 years) without password. How to set a password?

    This is a pretty old router, but documentation is still available from Microsoft:http://support.microsoft.com/kb/902461 the 'Guide' is more complete, but the "Base Station Configuration Guide" will explain how to configure the router.

    I guess what you mean by a "password" is the password for the wireless encryption (there is also a password that controls access to the router configuration utility). The following are the basic steps to configure wireless encryption (see the documentation for more details and screenshots):

    1. utility access to the router configuration, preferably with a computer connected to the router with an Ethernet cable (if you change your wireless security, the parameters using a computer connected to the router by wireless, the connection will be abandoned as soon as you click APPLY).  Open a web browser and type 192.168.2.1 in the browser address box.  If you have not changed the logon password, enter 'admin' (without the quotes, all lowercase).

    2. click on the "Security" link on the home page of the configuration tool, then "Wireless Security".

    3. Select the "niveau_chiffrement" in the combo box to "256-bit WPA - PSK (louder)" - unless all of your wireless devices are so old they don't support WEP (unusual for a wifi device years less than 5 or 6).

    4. in the box, type a password (between 8 and 63 characters), and then click 'apply '. at this point, you will be disconnected from the router (and the Internet) If you did the above changes using a computer connected to the router WiFi.   Write the password in a place where you don't forget.

    5. close router configuration utility.

    To set up your wireless computers:

    6. open network connections (start > run > ncpa.cpl > OK)

    7. right click on your wireless adapter icon and select Properties.

    8. click on the wireless networks tab

    9. make sure the box at the top next to "use Windows to configure my wireless."

    10. in the list of "Preferred networks", select the entry to your router (your network name), click on 'delete '.  [This deletes the entry from your wireless network WITHOUT a password, so that you will be able to add an entry for a network with the same name WITH a password.]

    11. click on the view wireless networks"" button.

    12. the name of your network should appear in the list of wireless networks.  Select it and click "connect". When you are prompted for the password, enter the WPA password set in the router configuration.

    13. open a web browser and confirm that you can access the Internet.

  • How to set up hotkeys on the keyboard wireless upper left Office 2000 model

    I bought MS Wireless Desktop 2000, keyboard/mouse combo.

    My PC is from 6 HP Pavilion 6000 came with wireless keyboard/mouse.

    I would like to define shortcut keys (1), (2), (3) on the top left of the foloowing IE and Mail keys for my anti virus update and the Update window.

    I can't find how to set these keys in naywhere on the Web.

    (1) how to set these keys?

    (2) what I have to install MS sweet came with the keyboard set?   If so, I have to remove old wireless flexible keyboard that came with my PC.

    (3) what is the name of the program for HP wireless keyboard, I will not facilitate the kidnapping by mistake.

    Also, how to set the sideway movement buttons on your mouse wheel.

    http://www.Microsoft.com/hardware/en-us/d/wireless-keyboard-2000 go to this link to download the software, so you can configure the keys 1,2,3,4 & 5

  • How can I lock you the desktop icons so that they change position. I use windows 7

    How can I lock you the desktop icons so that they change their position? I use windows 7.

    Try this:

    Right-click on an empty area of the desktop (not on an icon).

    In the menu that appears, move your mouse over "display".

    Is there a check mark next to "reorganization automatic icons? If so, click it to remove the check mark.

  • How to set up a standard view in Solution Explorer no matter how it is launched or consulted?

    Whenever I'm on a website and you want to download a file to my local drive, I would have the same view of my files in Explorer. However, the default seems to be set on the view "Small icons" Is it possible to set up to explore my specifications? I want ALWAYS to produce the detailed view and display only the details that I selected and sorted by my own predefined criteria.

    Is this possible? I tried repeatedly to define this, but whenever I start exploring through a download process (for example, put a file on the web or by searching a file in Word, Excel etc.) I am presented with what seems to be an arbitrary point of view in Explorer which I don't want.

    Help, please!

    Thank you

    Select this option.

    Here's how to change the default template for a folder: http://www.vistax64.com/tutorials/70819-windows-explorer-folder-view-settings.html.  Default behavior is to select the model based on the first type of file placed in the folder (you must choose something).  Vista sets the folder type template according to what are the types of files in the window and the settings display window Explorer. This will show you how reset the display settings of Windows Explorer folder (which is what I think you want), disable Automatic folder Type discoveryand increase the view of the folder cache to have Vista don't forget not the display, model of file type settings, the size or the position of a window for when it was still closed to the location of specific path.

    It does not work with the Sub record under, Open with, open in a new tab (Internet Explorer), etc... dialog windows of type through the good File menu bar item. These don't seem to be able to have their size or their position to recall. For the latter, you can use the free program http://autosizer.en.softonic.com/ to resize them.

    Here is another article on how to modify the columns in Windows Explorer and sort in Vista: http://www.vistax64.com/tutorials/108665-column-customize.html.  This will show you how Add, Remove, move, change the widthand change the sort order of the columns in Windows Explorer in the way that you want.

    Here is another article on how to change the display of the default folders in Vista (but she argues, it is not a perfect solution and can revert to the previous behavior is not as good as the two prior links provided: http://news.cnet.com/8301-13880_3-10019957-68.html.)

    I hope this helps in your situation.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to set the size of the Windows Explorer preview pane so that it will retain the size adjusted?

    All know how to set the size of the Preview windows exployer pane.  I can't remember or 'stick' to the adjusted size.  It always develops a great size, concealing of file information (name, date modified, size, etc...) it's very great pain.

    Help, please!

    Thank you

    * original title - preview pane of Windows Explorer is a pain.*

    Hello

    Try this:

    (a) click the "Hide the preview pane" in the upper right corner (on the left of the help) of Windows Explorer

    (b) to resize the Windows Explorer window for how you want

    (c) click the 'Show preview pane' icon in the upper right corner (on the left of the help) of Windows Explorer

    Navigate to the link below: http://social.technet.microsoft.com/Forums/en/w7itproui/thread/569509ae-a37a-441f-8cc3-95d5231b171b

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think, if this post can help solve your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for