How do I set a PNG cursor hot spot?

I am trying to set the hot spot for a PNG cursor in a CS6 plugin (Windows) I have searched for a solution but I can't find one. So far I am able to set the cursor using sAIUser->SetCursor() but I don't know how to set its hot spot. Can anyone provide an example of how to set the hot spot of a PNG cursor?

The SDK does this in the AnnotatorTool sample. It's an xml file that describes the hotspot.
<?xml version='1.0'?>
<prop.map version='1'>
<prop.list>
<prop.pair>
<key>DVA_CursorData</key>
<string>1.0</string>
</prop.pair>
<prop.pair>
<key>kHotSpot</key>
<array>
<array.type><int type='signed' size='32'/></array.type>
<int type='signed' size='32'>13</int>
<int type='signed' size='32'>12</int>
</array>
</prop.pair>
</prop.list>
</prop.map>
In the end, we gave up and just used platform code like Andrew did.

Similar Messages

  • How do I set up a wifi hot spot in my house just for me?

    How do I set up a wifi hot spot in my house just for me?

    You can't use the wifi card to do both connect to a wifi network and then use the wifi card as a wifi hotspot. You'll need to connect the mac by ethernet and then you can set the wifi card as a hotspot.

  • How can i  set the .PNG image on JButton

    hi deras
    i try my best to set the png image on button instead of gif or JPEG.
    plz help me as soon as possible.
    thanking u i remain.

    Try harder.import javax.swing.*;
    import java.io.IOException;
    import java.net.URL;
    public class TestPNGButton {
         public static void main(String[] args) {
              try {
                   final JFrame frame = new JFrame(TestTextArea.class.getName());
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   JButton button = new JButton(new ImageIcon(
                             new URL("http://java.sun.com/docs/books/tutorial/ui" +
                                       "swing/components/example-1dot4/images/pngIcon.png")));
                   frame.setContentPane(button);
                   SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                             frame.pack();
                             frame.show();
              } catch (IOException e) {
                   e.printStackTrace();
    }It works for me.

  • How do I use my iPhone's hot spot to send email with Mail ?

    Hi,
    My land line is dead ... so no phone nor internet at home.  But I can use my iPhone'hot spot to get on the web from my iMac.  Great ... it works !
    Oups !   I cannot send email from my computer using my iPhone's hot spot with Mail.
    How do I do that ?
    Regards.
    Robert Lespérance

    Hi Templeton Peck,
    Thanks for droping in my thread ...
    Doesn't the fact that I can surf the web with my iPhone's hot spot and that I cannot use Mail normally has I normally do give you a clue what the problem could be ?
    What other information can I give you other than normally I can surf and send email with my regular ISP.  Now that my ISP is dead I am using my iPhone's hotspot to surf the web awaiting that my ISP's connoection returns. Surfing is OK but I cannot send emails with through Mail.
    When I want to send an email from my computer, I get a message asking me to select the the SMTP server.  Then I select my usual ISP server, but the message comes back telling me it does not work.
    Is there any other configuration to do ?

  • Ps CS6 Color Sampler Cursor Hot Spot Inconsistent With Rest

    I don't use the Color Sampler Tool much, but In checking something for another thread, I noticed the cursor now seems inconsistent with the cursors of the other tools.
    Basically, I expected it to drop the sampler on the little crosshair, and it dropped it instead at the end of the dropper.
    This used to make sense, and it's still consistent with the Eyedropper cursor (and with prior versions of Photoshop).  But I find that now I've gotten used to the other new cursors, most of which now define the hot spot at the upper-left, it didn't do what was expected.
    I guess there's not really a good solution for this, other than to just get used to it.
    -Noel

    That's kind of the point, R_Kelly. 
    Adobe changed the behavior of SOME of the cursors in Ps CS6 to have the hot spot at the upper left, but they specifically DIDN'T change the one for the samplers.  The ones that work that way have something functional-looking at the upper-left of the cursor.
    I used to always just know that the end of the dropper was where the action was going to be.  NOW, since so many of the cursors have a shape and that extra little tool at the upper-left, it triggered the expectation that in this case the "thing" at the upper-left was where the action was going to be.
    Here are some examples:
    -Noel

  • Does setting up a personal hot spot allow other people to use up your cellular data

    by setting up your own personal hot spot does it allow other people to use up you cellular data?

    Basically yes.  Personal Hotspot means you are sharing out your Cellular Data connection.
    If you give the Hotspot password to someone they will use your Cellular data to access the internet.

  • DW CS3: how to get audio to play in hot spot?

    I have tried in vain to get an audio file to play when clicking on a hot spot on a graphic.  It plays but it opens in a new window with a skin.  I want it to play while the graphic is displayed.  I tried target="-self" but it still goes to a new page.  Anybody know of a way to get around this?
    Thank you!
    Laura

    You don't need to go in the Environnement. In the Arrange window, use an Audio Instrument track, insert Ivory at the input and if the track is selected, you should hear it.

  • How can I set the flash cursors as my windows cursors?

    I would like to set the cursors in Flash Pro CC to be my default windows cursors, since they are so nice.
    I've tried looking through the Flash Pro folder on my computer for .png, .gif, .jpg, .jpeg, .ani, and .cur files but none of those searches turned up the Flash cursors.
    Could someone help me out?

    recreate them, http://www.techsupportalert.com/content/create-your-own-custom-windows-cursor.htm

  • HT3574 Trouble setting up a moble hot spot on my Iphone 4s.

         I seem to be having much difficulty setting up a Mobile hotspot on my IPhone 4s. I go to settings, General, Network, then click on "personal Hotspot". Unfortunately, ever time I do so, a screen pops up that says the following: "Set Up Personal Hotspot" To enable Personal Hotspot on this account, contact Version at 661 or visit http://www.verisonwireless.com/b2c/index.html" I have tried calling and visiting the website, and I am extremely confused. Please point me in the right direction, and you will be greatly appreciated.

    you have to be provisioned by your carrier to use personal hotspot.  So contact verizon.

  • How can I set up a hot spot on my new iPad.  I can't call 611 as suggested.

    I would like to set up a hot spot with my new iPad but can't figure out how to do that.  I cannot log on to the suggested web site and, of course, I can't dial 611 from my iPad.

    Good pointer.  It lead me to a phonenumber to call and a real person who said she could help set up my personal hot spot.   After that things too a turn for the worse.  She could not set up the hot spot without cancelling my grandfathered  unlimited data plan.  She said I had to cancel that and buy a $50/mo 5Gig plan.  I told her that is not what the AT&T wireless iPad support web site said.  She wouldn't budge and I wouldn't cave in and accept a new plan - so - I did not get a hot spot, but I get to keep my unlimited $30/mo data plan.
    End of discussion for now.  I'm going to try to find a basis for an appeal.  Wish me luck.  If I succeed, I'll post here.  If not, thanks to the members of this support community for your assistance.

  • HT1386 how to set up my iphone for hot spot

    how. to use my iphone.as a hot spot?

    Go to settings personal hotspot and turn it on and then turn on Bluetooth.  Then you need to pair the other device with the phone.  Some carriers require special plans or do not support tethering

  • I've changed a setting disabling my cursor to move items in my Canvas?

    I've some how changed a setting disabling my cursor to move items in my Canvas?
    How do i get it back to normal?

    w - image, image+wireframe, wireframe...
    steps thru them. Also a pulldown above the canvas...
    Patrick

  • How do I set up my WlFi Personal Hotspot?

    Apple
    How do I set up my WlFi Personal Hotspot?

    I don't understand your question. It makes no sense.
    If you want to set up your personal hot spot on your iPhone simply call Verizon wireless and have them add the feature. It is $30 for 2 GB of data.
    However certain Verizon plans have the hotspot feature included with your cellular plan. Call 1-800-922-0204 or *611 and ask customer service.
    If what you wanted was to hook into your home WiFi simply make sure the WiFi toggle is set to on, select the name of your home network and connect. You will need to know your password for your home network to connect.
    Good Luck

  • IPhone 5 as a hot spot?

    Ok, so my wife and I have always used the Android systems for our smart phones.  We each have the internet package on our phones and until recently, we both had the hot spot on our phones.  Recently, my wife updated to the iPhone 5, and we can't figure out how to make it work as a hot spot.  Please help!!  We need internet at the house for the kids for school, and that is how our tablets and computer access the internet.  i work as a FF and work 24hrs shifts, so my phone is not always available.  How do we fix this??

    hotspot its under general, cellular, then scroll down and it will say personal hotspot.  I do believe unless you have a qualifying plan the hotspot use must be active from verizon. I pay $20 for 2 GB of hotspot usage.  Good Luck

  • I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?

    I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?  How do I set this up?????

    I think he means to set up the main extreme as the main router or "main base station", and then use the express to "extend" the network.
    You can look up the manual for your express here for more details:
    http://support.apple.com/manuals/
    Extend the range of your network by adding AirPort Express to your existing AirPortExtreme or AirPort Express wireless network (this is called a Wireless DistributionSystem, or WDS). "
    Extending the Range of an Existing AirPort Extreme or
    AirPort Express Network
    You can extend the range of an existing AirPort Extreme or AirPort Express wirelessnetwork by setting it up in a WDS. Wireless computers can connect to the network andshare the Internet connection, share files, and play network games. If you connect yourAirPort Express to your home stereo, computers on your wireless network can useAirTunes to play music on the stereo from iTunes. If you connect a USB printer to yourAirPort Express, all of the computers on the network can print to it.
    n Open the AirPort Setup Assistant on a Macintosh, or the AirPort Express Assistant on acomputer using Windows XP. Follow the onscreen instructions to extend the range ofyour AirPort Extreme or AirPort Express network.
    Note: Extending the range of a network using WDS may reduce overall networkperformance.

Maybe you are looking for