How do I set a Unicode tool tip on an AVToolButton?

We're finally porting our Acrobat (8/9/X/XI) plug-in to be fully Unicode-compliant, so that we can show our UI in Japanese and other languages which require double-byte characters.
I've figured out how to rework most of our 8-bit calls, such as replacing AVMenuItemNew() with AVMenuItemNewWithASText(), AVAlert() with AVAlertWithParams(), etc.
But I'm stuck on the tooltips for our toolbar buttons.  We had been calling AVToolButtonSetHelpText(), which takes an 8-bit char string.  But there's no ASText version of this function, as far as I can tell.
I've tried calling both AVToolButtonSetComputeTooltipProc() and AVToolButtonSetNotifyTooltipProc(), but my callback functions never get called.  Similar callbacks registered with AVToolButtonSetComputeMarkedProc(), AVToolButtonSetComputeEnabledProc(), and AVToolButtonSetExecuteProc() work just fine, and I'm calling the AVToolButtonSet***TooltipProc functions the same way, but the tooltip callbacks never fire (at least not under Acrobat XI on Windows, which is my development environment).
I'm not actually sure whether AVToolButtonSetComputeTooltipProc() or AVToolButtonSetNotifyTooltipProc() is what I need to do, or exactly what the difference between the two callbacks is.  Also, the documentation for AVNotifyTooltipProc says, "It returns text that is displayed in the tooltip," but AVNotifyTooltipProc is a declaration for a function returning void, so I'm not sure what the doc means by "It returns text."  The AVComputeTooltipProc callback seems more sensible, as it returns ASText, but like I said, I can't get either one to fire.  Although the doc for AVComputeTooltipProc is a bit confusing as well, as it says it's "used to get the mega-tooltip help text for a toolbar button."  What exactly does it mean by, "mega-tooltip?"  Is that a clue that a "mega" tooltip is somehow fundamentally different than a regular (non-"mega") tooltip?
So, what exactly do I need to to in order to set Unicode tool tips on my toolbar buttons?

Agreed, Unicode is the way to go.
I would still appreciate it if someone could answer these specific questions:
Is there any supported way to set Unicode tool tips in Acrobat 9?
Why are my callbacks registered with AVToolButtonSetComputeTooltipProc() and AVToolButtonSetNotifyTooltipProc() never being called?  Do these functions simply not work?  Or am I doing something wrong?
Thanks!

Similar Messages

  • How to disable Setting button in Tools - Options - Advanced - Network from windows registry?

    Dear support,
    Now, my office use Firefox as default browser to access WebServer. And there are some policy that users must use ProxyServer. I do not want user change proxy setting in Firefox. How to disable Setting button in Tools - Options - Advanced - Network from windows registry?
    Thank you.
    Treky

    You can not use the Windows registry to disable items in Firefox. This link shows how to lock down Firefox proxy settings, change the values to suit your needs:
    http://www.stbernard.com/ip5kb/iPrism/WhatsNew/50SupportFiles/SupportFiles/IP0460.htm
    One minor variation, in step 4 instead of adding that line to all-js, you can create a file called ''local-settings.js'' containing the line shown and save the file in the same folder as all.js

  • How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution??? thanks before best regard

    How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution???
    thanks before
    best regard
    -ariansyah-

    You can disable or remove that button, but that won't prevent users from making the changes on the about:config page directly.<br />
    You can lock the related network.proxy prefs if you do not want users to change the connection settings.
    See:
    *http://kb.mozillazine.org/Locking_preferences
    * http://kb.mozillazine.org/network.proxy.type
    * http://kb.mozillazine.org/network.proxy.%28protocol%29
    * http://kb.mozillazine.org/network.proxy.%28protocol%29_port

  • How do I set the default tool. It's on range selection and I want it to be the select tool.

    Final Cut Pro X. How do I set the default tool? It's on range selection and I want it to be the select tool.

    Type the letter "a" or select it from the drop-down...

  • How do I set the hand tool to be the default tool in Acrobat X?

    I want the hand tool to be the default tool. The select tool is very annoying. This is a recent change - even last week the default tool was whatever tool I had used last. Now the select tool is always selected which is very frustrating. How do I set the hand tool to be the default tool in Acrobat X? I am running Acrobat Pro 10.1.4 on Windows 7.

    I can see that it would be frustrating that you can restart PS with most last used tools, but not the Move tool.  But I just checked and that does indeed seem to be the case.  The obvious question is why you would like to have the Move tool selected when opening PS, and is there another route to achieve your ultimate objective?

  • How to get rid of annoying tool tips while editing SQL files

    I'm using Visual Studio 2013 to edit an .SQL file and I have attached the editor to a local SQL Server 2008 R2 database.
    While editing the string that is passed to a sp_executesql procedure it keeps popping up a tool tip saying:
    "Parameter help is not supported for extended stored procedures"
    Generally I don't care about that and it is annoying because it keeps appearing over the top of the text I want to read. Is there any way to stop Visual Studio doing this?
    a

    Hi aptitude,
    Thank you for posting in the MSDN forum.
    >>I'm using Visual Studio 2013 to edit an .SQL file and I have attached the editor to a local SQL Server 2008 R2 database.
    Could you share us more information about this issue? You said that you edit the .sql file, which kind of app did you create which would use the .SQL file? Whether it is related to the SQL Server database project or others?
    If it is related to the SQL Server Database project, please post this issue to the SSDT forum:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=ssdt
    >>While editing the string that is passed to a sp_executesql procedure it keeps popping up a tool tip saying:"Parameter help is not supported for extended stored procedures".
    Reference:
    https://technet.microsoft.com/en-us/library/ms175170%28v=sql.105%29.aspx
    https://msdn.microsoft.com/en-us/library/ms188001(v=sql.105).aspx
    But if it is related to the SQL Server, to really repro this issue, and make sure that whether this warning is related to the SQL scrip or others, maybe you could select a better forum here:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
    If I have misunderstood this issue, maybe you could share us a simple sample and the detailed steps in your new reply, so we could really repro this issue in our side.
    In addition, I did some research about the warning message:
    https://msdn.microsoft.com/en-us/library/ms173434.aspx?f=255&MSPPError=-2147217396
    The IntelliSense functionality of the Database Engine Query Editor does not support all Transact-SQL syntax elements. Parameter help does not support the parameters in some objects, such as extended stored procedures. For more information, see
    Transact-SQL Syntax Supported by IntelliSense.
    In SQL Server, it seems that it is related to the IntelliSense, I'm not very sure that whether it is related to the IntelliSense of VS IDE, but generally we could enable or disable IntelliSense under TOOLS->Option->Text Editor in VS
    IDE.
    Maybe you could disable IntelliSense in VS IDE, and then check it again.
    If I misunderstood this issue, please feel free to let me know.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Howto set tool tip for a row in JTable

    I want to set a seperate tool tip for each of the rows in JTable. I tried getting cell renderer of all columns in a row and then setting tool tip for them. I expected that setting tool tip for a cell renderer will set tool tip for that cell. Thus setting tool tip for all the cells in a row will indirectly set tool tip for that row. But it does not happen that way. By setting a tool tip for a renderer it will use that tool tip for all those cells which use that renderer.
    Is there any problem in my approach or we cannot do this in Java.
    regards.

    Thanks.You're wellcome.
    >
    I just saw this method in JComponent and realized this
    solution.
    But then thought that for doing this i'll have to
    create my JTable class for just overiding one method
    thereby increasing one more level of abstraction.Well, you could override the method in an inner class if I understand you correctly in assuming that you don't want to create a JTable as new separate class. You could do this:
    JTable yourtable = new JTable() {
      public String getToolTipText( MouseEvent e ) {
        return getToolTipForRow( rowAtPoint( e.getPoint() ));
    // some where else in your class
    getToolTipForRow( int row ) {
      // determine your tooltip here
    }I think this would be a bit nicer and slightly faster approach because as far as I understand the getToolTipText() method is called after a similar MouseEvent for every JComponent i.e. a small pause of cursor movement over the component in question. I admit that I haven't tested either approach myself but noticed that JTable actually overrides the getToolTipText( MouseEvent e) method already. In your code you determine and set the tooltip every time the mouse moves. If you override getToolTipText( MouseEvent e) you have to determine the tooltip text only when the tooltip is actually about to be shown.
    Regards, JMorko

  • 100 percent width objects with tool tip widget or...

    Hi,
    Anyone know how  you create 100% objects with tool tip?
    Like in this page
    http://www.philips.com.br
    You have slider in full screen.
    The fullscreen widget appears to support only an images

    Hi Dandalo
    Unfortunately this is not possible with Tooltip , but you can use full screen slideshow which will have the similar effect but the limitation being the content on the page which will be not same as the referenced site you have posted.
    Thanks,
    Sanjit

  • Update tool-tip for customized portal Help URL

    I have customized the Help Link in Portal Masthead with our own URL. It works fine. However, when the user moves their mouse over the "Help" link, the tool-tip still shows the original text, i.e. "Display the online help ...". How can I also customize the tool-tip of the customized Help URL?
    Thanks.

    Hi,
    you'll have to customize the masthead application. This text is saved in the file:
    PORTAL-INF\private\classes\headeriView_nls.properties -> pick the one that matches your language.
    The String you'll have to modify is:
    HELP_TOOLTIP=Display the online help for more information about the portal
    Change it, save the file and create the PAR again (it's only to zip, nothing to compile) and deploy it.
    br,
    Tobias

  • How to set Tool Tip Text to Tree Node?

    Hi,
    How to set Tool Tip Text to Tree Node in JTree?
    Pls somebody help me to solve it.

    bsampeieri,
    Been here a long time myself. I don't agree with the one post is enough per se. That is to say, sometimes, it helps to post in several groups so that more eyes may see it. A number of forum posters linger in specific forum topics and may not see the post in another forum.
    Now, if in the previous post you/others answered the question and then the OP posted here later, I could see the complaint.
    For the OP, the better way to cross-post is to have one "main" post, then have all the other posts refer back to that one (link to it) so that people aren't duplicating the effort to answer your question(s). A simple "I have cross-posted this to get more eyes on it. Please reply to this question at this post <link here>"

  • How to set tool tips for graphic objects.

    Hi
    i have a code like this
    here dst is graphic object but i casted ti Graphic2D object because i have to set back ground color.
    Graphics2D lGraphic = (Graphics2D) dst;
    lGraphic.setBackground(Color.RED);
    lGraphic.clearRect((int) lx, (int) ly, (int) lw + 1, (int) lh + 1);
    lGraphic.drawRect(0, 0, (int) lw, (int) lh);
    so now i want to set a tool tip for this lGraphic Object.
    can any body please post answer for this proble.
    if you will post in advance it will help me a lot.

    so now i want to set a tool tip for this lGraphic Object.Your concepts are all wrong. Read the API for java.awt.Graphics and try to understand that a Graphics object is akin to a paintbrush: it has methods to draw whatever is to be drawn. The painting is not the brush, the brush does the painting.
    To obtain a custom tooltip at certain locations within a JComponent, I think the easiest way is to override getToolTipText(MouseEvent me). The method can return null for locations where a tooltip is not to be shown.
    db

  • How to create tool tip in indesign skd?

    hi,
    Anyone suggest me, how to create tool tip in indesign skd?
    thanks,
    vijay

    Thanks for your reply, But i cannot able to set it in plugin menu.
    Please guide me
    Thanks,
    vijay

  • How to get an error icon with tool tip in a displaying table   in a particu

    How to get an error icon with tool tip in a displaying table   in a particular field..
    Thanks.

    Hi,
    In the context  create an attribute of type string .
    Create the attribute in the node which you bind for table.
    In the layout .
    1.create a Table UI element.
    2 create binding for UI element.
    3Right click on the Table UI and select insert table column.
    4.once the table column is inserted right click on table column and select insert cell editor.
    5.create the cell editor of the type image.
    6.Bind the source property of the image to the attribute in the node which you have created.
    so depending on what image(type of icon) needs to be displayed set the attibute accordingly.
    refer to the link for image :
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm]
    Priya

  • Set tool tip on an image

    hi there,
    does anyone know how to set a tool tip on an image?
    easy to do that on a button - e.g.,
              dbButton      = new JButton ("", new ImageIcon("images/db.gif"));
              dbButton.setToolTipText("check connection to the database");
    but what if i have an image such as:
              DefaultEditorKit.CutAction cutImage = new DefaultEditorKit.CutAction();
              cutImage.putValue( Action.NAME, "Cut" );
              cutImage.putValue( Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_T) );
              cutImage.putValue( Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_X, InputEvent.CTRL_MASK) );
              cutImage.putValue( Action.SMALL_ICON, new ImageIcon("images/Cut.gif") );
    anyone?

    The code you posted here is not the same as the code I gave you in your previous post. Before you remove lines of code you should understand what they do. One line you removed is important, the other isn't. Read the Action API for more information.
    Also, there is no reason you can't do:
    cut = new JButton(Action);
    cut.setToolTipText("Cut");

  • How do I set up a track that my fade tool will work on?????

    I'm trying to do fades on my tacks using the fade tool.
    I open a new track, record something and go to tools and pick the fade tool.
    But it's not letting me do a fade at the start or the end of a track.
    I go to the inspector window and look at the Region Parameter Box.
    There I notice that there was not much info in the Region Parameter Box in the inspector window, just (loop, delay, follow tempo)
    On other tracks from the templets in logic 9 I could do a fade in and with the fade tool, but I notice the Region Parameter Box in the inspector window had a bunch more info like,
    (loop, delay, gain, fade in, curve, fade out, follow tempo)
    So how do I set up the track that has all that info in the inspector windows Region Parameter Box,
    then I could do my fades with my fade tool.
    Thanks for the help..........LEROX

    Flatten your Take Folder.
    Christian

Maybe you are looking for