PrintWindow() API does NOT get an image for Windows created by Java?

Hi
WinXP added the PrintWindow() API that allows one application to take an image copy of another app's window, even if the window is off-screen or obscured, ie beyond the scope of a simple BitBlt. (PrintWindow seems to be a cross-process "extension" of the WM_PRINT message).
But PrintWindow doesn't seem to work when I "point" it at any Java-based apps. That is, for a few java-based apps (including the Java Control Panel) running on XP, the return from PrintWindow includes the non-client area, but the client area is just blackness (not a render of what would be displayed) - the apps do flicker and seem to redraw on the screen instead. Note, I'm not looking for help in using PrintWindow() in a Java app - rather this is perhaps a problem with Java responding to windows painting messages.
I've tried JRE 1.5.0_07-b03 and 1.6.0_01.
Is this a bug in the Java implementation? I'm a bit surprised I can't find any reference to it. Is there a work around?
For a source-code (C++) example of PrintWindow in a small app see http://www.codeguru.com/cpp/g-m/gdi/capturingimages/article.php/c11231

PS
I wasn't able to find a forum that seemed to cover this type of issue. If I've posted in the wrong place could someone more knowledgeable tell me where it should go. Thanks.

Similar Messages

  • Why "Acq&Graph Voltage-Int Clk.vi" does not get constant voltage for constant voltage input?

    Dear All
    Labview 7.1/XP/NI6221
    I try to use NI 6221 to read analog input by using "Acq&Graph Voltage-Int Clk.vi".
    The reading voltage does not constant and not correct value, when I put constant voltage.
    How should I solve this problem?  Thank you.
    When I use "DAQ Assistant" to read analog input it work well.
    Thongchai

    Thongchai,
    As I recall from an earlier discussion exchange with you, you are performing Reference Single Ended (RSE) measurements on channels 0-3, is that correct?  In the example, there is no selection for the input terminal configuration on the DAQmx Create Task -- for M-Series boards on channels 0-8 the default configuration is differential.  If you right click on this input and select "Create Constant", you can choose RSE and it should measure the correct values.  Let me know how that works for you.
    Erik F
    Applications Engineer
    National Instruments

  • Thunderbird does not get server data for ovi mail

    hi there,
    i have the following problem:
    when i try to make an ovi account in my thunderbird mail client, it does not find the right server settings to do so. i searched the net for hints concerning the right settings to set them manually but havent found anything so far.
    does anybody know the right server settings or can provide me with a tip where i can find them, respecively solve the problem otherwise?
    many thanks in advance!

    Hello.  Name here is Stephen.  I live in Missouri.
    I currently use my ovi.com email address with a Nokia E-71 smartphone, on the prepaid Straight Talk (TracFone Owned) wireless network.
    I've also had my ovi.com address setup in Thunderbird (a popular email client) as an IMAP account.
    Now that I see the new settings, I see that IMAP no longer available?  Is that correct?
    If this is the case, how is converting an IMAP account that worked flawlessly to a generic POP3 account progress?  IMAP is more attuned to business users, and is just more efficient all the way around.
    If I'm wrong, please let me know.  If not, I need the current IMAP account settings for my ovi.com email address.
    Please assist me in this matter, as it's driving me nuts.
    Warm Regards,
    Stephen Brown

  • Task Does not get triggered when User is created through API

    Hi,
    Each new user in our OIM environment is supposed to have a iPlanet account. I have configured the access policy for the same and it works.There is also a process task which needs to be triggered once the user is successfully created in the DS. Following is my issue:
    1.When the new user is created through the admin console, the user is provisioned successfully to DS as well because of the access policy and the task also gets triggered successfully.
    2. There is an approval workflow for another resource, at the end of which a user needs to be created through APIs in OIM. The user gets created successfully in OIM and also get provisionined to DS just like in the above use case. However, the task fails in this case. I see that the task is being triggered from the user's resource profile, but the status is rejected.
    Can someone please tell me why is this happening. I initially though there was some issue with my adapter for the task, but in case 1 it works just fine.
    Following is the exception I get as soon as the iPlanet connector finishes creating the user in DS:
    java.lang.ClassCastException: java.lang.String
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpSETFIELDSONUSERCREATE.implementation(adpSETFIELDSONUSERCREATE.java:51)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    Thanks,
    Supreetha

    Hi,
    Have you checked the process data that you are passing to this adapter and check the mapping of process data to the adapter variable. Try to log the value which you get from process data. I got this error when I was trying to use the literal value from process data as "true" for a boolean value. This is a bug. This value is not actually a boolean value. It threw me error too sometimes back. Either you pass the boolean value from adaptor factory as a literal value or change the type boolean both in your code and the adapter.
    OIM works strangely. ;) All the best,
    Manila

  • Can't verify my acount. Does not get e-mail for verification.

    I am able to sign in, but not able to verifying my iCloud acount to acces it.

    So, do I have to ask my original question again? Apparently my e-mail has now been "verified" .......

  • Boot camp does not format the partition for Windows 7

    I recently purchased a copy of windows 7.  This is the full version.  I downloaded the drivers to a usb drive then placed the windows 7 disk in my apple optical drive to partition to disk.  After portioning the iMac restarts and gives the a blank screen with _ blinking.  It seems as though the windows partition has not been formatted.  I cannot enter a dos command such as format or anything else.  If I start up the mac again with the windows 7 disk in the optical drive I will be prompted to insert a bootable disk.  I understand that after the partitioning takes place that bootcamp should start the installation process.  By the way after working on this for quite a long time I decided it might be the copy of windows so I returned it and got another.  Same resuts.  I hope someone can help.
    Thanks

    Read the instructions and it is pretty clear that you format to NTFS where you see the BOOTCAMP partition.
    All the articles and how to are here:
    http://www.apple.com/support/bootcamp
    Boot Camp 101

  • User does not get email notifications to his outlook

    Hi All,
    A user has reported that he does not get outlook notifications for corresponding work items in his inbox.
    All the settings are in place i.e. correct email address maintained in SU01 as well as in Infotype 0105 subtype 010.
    Not really sure why he alone does not get any outlook notifications.
    I tried sending a new message manually from SAP Inbox to his external mail id and was successful in this (checked SOST).
    What might be wrong? Please suggest.
    BR,
    Hari

    Hello,
    By "outlook notifications" I assume you mean emails telling the user he has workitems waiting for him to action.
    How are you sending these emails, with Extended Notifications?
    In SU01, besides specifying the e-mail address, have you also put "E-mail" in the "Comm. Meth" field?
    Sending an email directly to his external email address from his SAP inbox doesn't prove much, SAP has to be able to deduce the email address itself.
    Is it just happening for one user? Has it worked before?
    regards
    Rick Bakker
    Hanai Technology

  • I have purchased the VGA Connectors for both a iMac and Macbook Pro so that i can connect my promethean board projector to the computer and I can not get the image on the screen.  Does anyone have any suggestions?

    I have purchased the VGA Connectors for both a iMac and Macbook Pro so that i can connect my promethean board projector to the computer and I can not get the image on the screen.  Does anyone have any suggestions?

    Irelandbound wrote:
    thank you, I have the adaptors so glad that would work.  I just heard adaptors burn out often.  So Just thought for my main iMac computer, a plug would be best.  I will get one once I move.
    Any other suggestions or things I should know about apple products in Ireland.  I know there are no Apple stores there.
    An adaptor doesn't burn out. It merely serves as a means to connect the power prongs on your device to the power supply.
    I believe you are thinking of a transformer, which you do not need. A transformer converts one voltage to another.
    You don't need to do that as the power supply of modern electronics can take almost any worldwide voltage.
    Look at the label on the device. It should indicate the input power acceptable of 100-240 VAC, 50-60 Hz.
    Additionally, I found the adapters cheaper in the UK than I found them in the US. They were available in most supermarket chains. I wasn't in Ireland, so I can't say one way or the other.
    If you have something that doesn't have that input power spec, it would require a transformer.
    On other items like electric clocks or things with motors, you can connect them up to a transformer and the voltage will be correct, but the frequency may not. For clocks, that will cause them to not keep time well. For motors, they will burn out.

  • Load remote images in html mail setting does not get saved. I have to turn it off every time I log in. Is this a bug?

    Load remote images in html mail setting does not get saved. I have to turn it off every time I log in. Is this a bug?

    Plug your phone into the wall charger for at least 30 minutes...make sure you have a sim card in the phone...then:
    Leave the USB cable connected to your computer, but NOT your phone, iTunes running, press & hold the home button while connecting the USB cable to your dock connector, continue holding the home button until you see “Connect to iTunes” on the screen. You may now release the home button. iTunes should now display that it has detected your phone in recovery mode, if not quit and reopen iTunes. If you still don’t see the recovery message repeat these steps again. iTunes will give you the option to restore from a backup or set up as new.
    Make sure you have no anti-virus software running or any firewalls...turn all of that stuff off.

  • Windows 8 error "product key does not match any of the Windows images available for installation"

    Hi Experts
    My HP Pavilion laptop came with window 8. I made the USB recovery for windows 8 using hp recovery manager. My windows was corrupted, while I was trying to install windows 7 in dual boot.
    I used above USB recovery to restore factory default. But every time it is giving me error "HP Recovery Manager Failed error code = 0xefffff08"
    Then I downloaded the OEM ISO mage for windows 8 and tried to do the clean install but now installation process is giving me error "The product key entered does not match any of the Windows images available for installation. Enter a different product key" 
    Please help me. To whom I have to contact?

    Hi ghost-rider,
    Thank you for your query, I will do my best to assist you.
    I understand you tried to do a recovery and you received this error  "oxefffff08".
    First I would suggest you run a hardware diagnostics. Testing for Hardware Failures (Windows 8)
    If no hardware failures are located, you have ruled that possibility out.
    Here is a link to Troubleshooting HP System Recovery Problems (Windows 8) that may help.
    If you are still having an issue doing a recovery, I suggest contacting HP support and explain the issue you are having with doing a recovery. They may have another option available for you.
    Please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region  Technical Support Sitemap
    The clean install from an OEM image is looking for the product code as it does not match the one that came with the computer, You would need a new code.
    I hope this has helped.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • I have a late 2008 white macbook.  I have a mini dvi to hdmi adapter, and a hdmi cord.  My cannot get my MB to detect an external monitor.  Nothing happens when plugged in.  Also, my display settings does not have an option for mirroring or arrangment tab

    I have a late 2008 white macbook.  I have a mini dvi to hdmi adapter, and a hdmi cord.  My cannot get my MB to detect an external monitor.  Nothing happens when plugged in.  Also, my display settings does not have an option for mirroring or arrangment tab

    Yeah, I'm having the same exact problem - It seems that the thunderbolt minidisplay port is only able to output the analog VGA signal, not the digital signal to support DVI and HDMI. This is a bug that came up after installing 10.7.1. I bought my macbook air with 10.7 on it, upgraded it to 10.7.1 as soon as I got it, so I have never been able to use hdmi or dvi with my macbook air. This is an extremely frustrating problem for me, I used HDMI on a daily basis with my PC. I have spent many hours at the genius bar running diagnostic tests so Apple can get as much information as possible to create a fix for this problem. I have been emailing tech support for 3 or so weeks now, they keep saying that they are working on a fix and it should be out soon, but 10.7.2 has come and gone and I still have no HDMI functionality with my MacBook Air!

  • I am part of a family sharing setup.  Can I have my own payment method so the organizer does not get charged for my purchases?

    I am part of a family sharing setup.  Can I have my own payment method so the organizer does not get charged for my purchases?  If so, how do I set this up?

    Yes.  Just redeem gift cards so that your own account always has a sufficient credit balance.  Here is how it works:
    Family purchases and payments
    After you set up your family, any time a family member initiates a new purchase it will be billed directly to your account unless that family member has gift or store credit. First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer's card.

  • JAR file does not get uploaded to client for my SERVLET generated APPLET

    Some help please...
    I have a servlet that generates the HTML code that contains an APPLET. This APPLET needs a JAR file that is listed under its ARCHIVE property. The SERVLET is in a JAR file that is in the same directory as the other needed JAR file. If I create a static HTML with the output of the SERVLET it works fine. But if go through Weblogic the needed JAR file does not get uploaded to the client so I get a java.lang.NoClassDefFoundError:and my APPLET does not load.
    Q1: I am not sure what to put under the CODEBASE tag. I tried "." and I also tried "http://mymachine" but both did not work. I also tried without the CODEBASE tag. No luck. The SERVLET is bound to http://mymachine/servlet.
    Q2: Does anyone have any suggestions on how to do this? Is there a way to force the browser to upload a certain JAR file?
    Thanks...

    It works!!
    This is what I did:
    The jar file in question was the weblogic.jar. I tried putting it under the lib directory of my war file but I had problems because the weblogic.jar contains other war files inside so when I tried to deploy my war file it also tried to deploy the inner war files which for some reason did not work. So I tried removing the war files from the weblogic.jar and this time I had no problems deploying my war file but I still could not find the classes I needed. So I tried moving the weblogic.jar to the root dir of my war file and it worked!! Now the trick here was: I did not set the CODEBASE AND I had the ARCHIVE paramenter set in TWO places like below:
    <APPLET CODE = "marketmap.client.MarketMapApplet"
    ARCHIVE = "weblogic.jar"
    WIDTH = "657"
    HEIGHT = "382"
    ALIGN = "BOTTOM"
    ALT = "APPLET tag not recognized">
    </XMP>
    <PARAM NAME = CODE VALUE = "MyApplet" >
    <PARAM NAME = "type" VALUE="application/x-java-applet;version=1.2.2">
    <PARAM NAME = "scriptable" VALUE="false">
    <PARAM NAME = ARCHIVE VALUE="weblogic.jar">
    </APPLET>
    Actually if you do not place a parameter named ARCHIVE (at the end) it wil NOT work. I tried with multiple jar files listed and it works great too.
    Anyway I figure I'd share. Thanks for the help too.
    Lastly for people who choose not to upload the jar files to clients, you should look at the bea documentation on applets. It lists a classpath servlet that allows you to provide classes to the clients without having to force them to download the jar file.

  • How to ensure for material POs, TDS does not get deducted.

    Dear Seniors,
    Single vendor is supplying material and doing some service also.  How do we ensure that for material POs, TDS does not get deducted.
    Regards
    KVKR

    Hi kkvr,
    As i see your requirement is to execute MRRL alongwith the performing a proper TDS deduction and also using single vendor.
    There is no Standard SAP solution for this, as a workaround you will have two options for doing the same
    Option 1 : Create a different vendor code then you can run mrrl for the vendor code one for service and another for material
    The demerits of this solution is duplication of vendor code, which results in not having proper information for the SCM personnel for the purpose of vendor evaluation and vendor reconcilation
    Option2:
    you need to enahce the Purchase order at line item level with the a custom fields for the WHT tax code to be selected at the time of PO creation. For this you need to do a screen enahcement in PO and also at the time of providing the popup for selection it should only dipslay the wht codes available in the vendor master so that proper control on the tax code selection will happen.
    The practical issues here is the po creation person should have the knowledge of the tds code which you need to see whether it is possible or not or you can also suggest that finance controller should be part of po release startegy to check these po's to ensure the correct tds code populated.
    Further to this you need to also perform additional enahcement changes for the selected tds codes in the po it should be replaced at the time of mrrl transaction making other tds tax codes base as 0 or removal of tds codes not applicable in the exit.
    This exit with the help of the abaper you will be able to find hte standard enhacements available for mrrl and code the same over there so that at the time of posting this will happen.
    Further, to this while writing the logic you can also further stream line it as for material po's the tds not to be deducted at all so that user input for the material po's can be avoided and it is required only for service po's this disticntion you can do with the item category.
    With this you can perform the enahncement with a minimal changement to achieve your purpose.
    Do let me know if you have any quereies,
    Regards,
    Bharathi

  • Getting this:You cannot install Security Update 2011-002 on this volume. This volume does not meet the requirements for this update?

    I am getting this message: You cannot install Security Update 2011-002 on this volume. This volume does not meet the requirements for this update?
    is there a way to install this update?

    Hello
    More information would be useful, for example which Mac OS are you running.
    On the left menu item  About this Mac provides useful information.
    Also did you use Software Update to determine the update?
    Using Software Update can ensure you download and install the correct package for your particular Mac and OS version.

Maybe you are looking for

  • Not able to generate total for debit and credit columns in FSG

    SR 3-1507064871 Version - 12.0.6 Created a FSG report using "Note 311912.1 - How to Create FSGs to show Debit and Credit Balances in Different Columns" But not being able to get the totals of the columns. When trying to do totals, it always sum up an

  • Sony miniDV versus Canon miniDV

    I've read a few times on this forum that Sony miniDV cameras will be recognized by iMovie 08 even if they are the "second" firewire device attached to a Mac. In other words, you can have an external firewire hard drive attached and then attach your S

  • Iw31,iw32 ..user exits needed...

    Hi all.   This functional design specifies the invocation of programmatic logic through a user exit within Plant Maintenance Orders which will do the following as the PM Order is RELEASED •     If the WBS Element, to which the PM Order is to be assig

  • How to implement Approve/Reject kind functionality

    Hi All, I have a requirement to implement Approve/Reject functionality. anybody have any idea please help. Thanks in Advance

  • Cannot send iMessages

    I just ported in my number from AT&T and now i can't send iMessages using my number