Dare I say 'transparent window'

Hi, like many people I would like to be able to create transparent windows, dialogs etc, but a little lost, well actullay a little less lost since yesterday!
I am OK with the C++ side, native-java and java-native etc, but not sure which C headers to use for my purposes, or infact where to find them. I have searched google quite a lot, and found many references to jniwrapper and other commercial solutions, but those people that do know how to do this seem very reluctant to share the secret.
Can anybody provide a bit of direction?
Thanks

hello...
that link didn't work for me. is that site still up and running?
is it possible to make a transparent window in java so that another completely different application can be seen underneath?
thanks...

Similar Messages

  • How can I capture a semi transparent window?

    Hello all
    I am trying to grab an image of a semi transparent window into a bitmap. I have tried using both CopyFromScreen and BitBlt using the window handle but in both cases all I get is the image from behind the window I want to catch, it's like the semi transparent
    window is completely invisible to both capture methods. Is there any way I can capture the window I want?
    Thanks
    Rich

    Here is an example. You can try it in a new form project with 1 Button and 1 PictureBox added to the form. As i said, it is just an example so, when it is run the form will be partialy transparent. Click the button and it will capture the whole screen including
    your transparent form. Then it will set the forms opacity back to 1.0 so you can see that the transparent form was captured in the image.
     You will need to set it up to be used in a practical way. This is just a quick test example.
    Imports System.Runtime.InteropServices
    Public Class Form1
    Private Const CAPTUREBLT As Integer = &H40000000
    Private Const SRCCOPY As Integer = &HCC0020
    <DllImport("gdi32.dll", EntryPoint:="BitBlt")> _
    Private Shared Function BitBlt(ByVal hdcDest As IntPtr, ByVal nXDest As Integer, ByVal nYDest As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hdcSrc As IntPtr, ByVal nXSrc As Integer, ByVal nYSrc As Integer, ByVal dwRop As UInteger) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
    <DllImport("user32.dll", EntryPoint:="GetDC")> Private Shared Function GetDC(ByVal hWnd As System.IntPtr) As System.IntPtr
    End Function
    <DllImport("user32.dll", EntryPoint:="ReleaseDC")> Private Shared Function ReleaseDC(ByVal hWnd As System.IntPtr, ByVal hDC As System.IntPtr) As Integer
    End Function
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    'set this form so it is partialy transparen. Just to show it was captured for this example
    Me.Opacity = 0.5
    PictureBox1.SizeMode = PictureBoxSizeMode.Zoom
    End Sub
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    'if the picturebox has an Image the Dispose it first
    If PictureBox1.Image IsNot Nothing Then PictureBox1.Image.Dispose()
    'define the rectangle area of the screen to capture (whole screen in this case)
    Dim CaptureRectangle As Rectangle = Screen.PrimaryScreen.Bounds
    'Assign the new image captured from the screen to the picturebox image
    PictureBox1.Image = CaptureScreenImage(CaptureRectangle)
    'just so you can see the image better set the form`s opacity back to 1.0
    Me.Opacity = 1.0
    End Sub
    Private Function CaptureScreenImage(ByVal rect As Rectangle) As Bitmap
    Dim scrnHdc As IntPtr = GetDC(IntPtr.Zero)
    Dim bmp As New Bitmap(rect.Width, rect.Height)
    Using grx As Graphics = Graphics.FromImage(bmp)
    Dim grxHdc As IntPtr = grx.GetHdc()
    BitBlt(grxHdc, 0, 0, rect.Width, rect.Height, scrnHdc, rect.X, rect.Y, SRCCOPY Or CAPTUREBLT)
    grx.ReleaseHdc(grxHdc)
    ReleaseDC(IntPtr.Zero, scrnHdc)
    End Using
    Return bmp
    End Function
    End Class
    If you say it can`t be done then i`ll try it

  • Gray transparent "window shade" freeze

    Three times today a gray transparent "window shade" appeared on my screen, starting at the top and covering it much like a window shade. The shade is dark gray and I can see the screen through it. Then a black box with an image of the mac power button icon appears and an error message in four langauges (including an Asian script) that says something about needing to restart the computer by holding down the power button. When I do this, the computer turns off, but does not restart until I push the button again. Then I get a dialogue box saying "Your computer shut down unexpectedly -- do you want to report?" and I push the "report" button and nothing appears to happen with that.
    Is this a virus? It feels very bad...
    Note: I have the Intel processor and use CS2 versions of Adobe products. I heard this wasn't a good combination.
    Thanks for any help out there.

    Hello Cat
    Really Sorry to heard about your iMac... The message you are getting is called a "Kernal Panic" and this message often appears because of any hardware issues (Mostly RAM, but not necessarily it could be any thing Display Card, etc.) Do u have your iMac under Warranty... If yes, then rush to your nearest apple care store. They might solve your issue...
    btw CS2 bundle is the Best ever product by Adobe before CS3 i have been using Photoshop since 4.0, I have used all the versions and believe me CS2 has no issues, CS has many but not CS2.
    Take Care
    Regards.

  • I can't run Itunes! After installing Itunes, I receive a message saying that Windows could not verify Apple's digital signature and it closes.

    Pls HELP me! I can"t install it Itunes on any of my computers. After downloading it ( Run now or Saving it) it will no run because I keep receiving a message saying that Windows can not open this file because it could not verify Apple's Digital Signature. I have changed my internet security settings to allow downloads from unverified websites but it will not allow me to run Itunes. I had an older version of Itunes so I tried to install the update and it wouldn't work because so the same message about not being able to verify the digital signature.  I uninstalled Itunes and Quicktime and all other Apple programs on my system. Then I tried to download it again... no luck the same message came up again. I then went to my other computer that NEVER HAD ANY APPLE software on it and tried to download Itunes. It gave me the same message. Please help me, I'm going crazy tring to figure this out.

    I had this same issue occur today during update, searched and finally tracked to problem with windows registry. Used online version of windows registry tool "Fix It" (can also download portable version for offline check. I selected Apple updater utility from list to fix and it did it's thing. Returned to my downloaded 10 iTunes adn isntalled perfectly fine.
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Good luck. Worked for me back up and running.

  • HT201250 My Hallmark Card Software won't open  - I get a message that says "Restore Window" .  Help please.

    My Hallmark Card Software won't open  - I get a message that says "Restore Window" .  Help please.

    Hello Fred5960
    If you are having issues with connecting to the internet then check out the articles below to troubleshoot your issue.
    Troubleshooting "A connection failure has occurred", "The specified server could not be found" or similar messages
    http://support.apple.com/kb/ts1843
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/HT4628
    Regards,
    -Norm G.

  • I've just got a new Dell with windows 7.  When I try to download itunes it says the windows installer can't be found

    I've just got a new Dell with windows 7.  When I try to download itunes it says the windows installer can't be found

    When your username includes a Charakter like "acson te graf" zhere is a Problem for Windows to find your installiert-Files. Yust Build another Username like "Dummy", give admistration rights, change to this user and install iTunes on this accout. Now you can Return to your Old account an use iTunes.
    I am still surching how to change the username in Windows but still no idea.

  • When I try to install icloud on my laptop running windows 7 home premieum I get message saying the windows installer package wont complete as a program run as part of setup did not finish as expected   the install then rolls back   I have tried  rein

    when I try to install icloud on my laptop running windows 7 home premieum I get message saying the windows installer package wont complete as a program run as part of setup did not finish as expected   the install then rolls back   I have tried  reinstall   deleting files signing on with another account etc  nothing works   I have read this is an apple programing problem  if so is there a fix  I need iclouds  thanks

    This other discussion may help: Re: how do I install icloud

  • When I begin to attempt to download the windows support software in boot camp, it says the windows support software is unavailable. Is there any other place I can download it for a Macbook Pro 5,5 intel core 2 duo without the original CD?

    When I begin to attempt to download the windows support software in boot camp, it says the windows support software is unavailable. Is there any other place I can download it for a Macbook Pro 5,5 intel core 2 duo with snow leopard without the original CD?

    Hi,
    apart from the MacBook Air this feature is of no use for other Macs right now.
    Simply ingnore it (click "I already have the Drivers...) and continue with the installation.
    Sorry to say but you need the OSX Install DVD for the BootCamp Driver installation.
    The 3.0 version of the BootCamp Drivers is only avaiable on the disc.
    Later updates (3.1 and 3.2) can be downloaded from Apples Support website.
    Call Apple and ask for a replacement and they usually send you one for a small fee.
    And have the Serial-Number of your Mac at hand when calling.
    And since the OSX Install DVD can also be vital for maintenance and repair it is best to have one.
    The needed BootCamp Drivers are on the OSX Install DVD 1 that came with your Mac.
    Insert that disc while in Windows after the Windows installation to install the drivers.
    Regards
    Stefan

  • Preview app shows png image as transparent window

    When I open a PNG file in Preview.app, it doesn't show the image.  it just shows a transparent window the size of the image.  I can preview the image in the Finder fine. Note the transparent window in the screenshot:
    Is there a cache or preference file I should delete?
    Thanks,
    -Scott

    Here is another thread on similar issue
    Preview - Outline only appears?
    There are at least two different solutions within it - one involves a separate (free) program called Etrecheck, the other possible solution does not.
    Did you recently update? And what system are you having this issue with? On the MBP or Mac Mini?

  • Dark transparent window overlayed all windows

    There is a Dark Transparent 'window' that has overlayed it self on the screen. It is in the top Right Corner and I can not make it disappear...
    Any ideas?
    Before I start tearing apart my system?
    cheers.

    Amagine,
    Is it LCD or CRT?
    Could be the monitor:
    1. Try it on another system!
    If all else fails.
    2. Try going into ColorSync Utility and playing around with the color settings and see what happens.
    Try changing the resolution and colors, also if there are multiple Hz settings try changing them and playing around with that.
    3.Still there? Try reseating the video card. No dice with that, and the same deal on another system then it's the monitor. If it's LCD it's probably the monitor.
    Do it in whatever order is easier for you. I just felt like numbering them.
    -Eric

  • Really Transparent Windows...

    I saw lots of examples to fake a transparent window, thats fine for me... but what i couldn?t find out is if there is any way to make the "transparent" parts NOT clickable...
    when the user clicks the transparent part of the frame it passes this event to whatever is behind it.
    Could someone help me!?

    I just want to create a Frame that isn�t rectangular.. in order to have a circular Frame for example... I can make the frame transparent and make it have the appearence of a circular Frame, but when the user clicks the "invisible" parts of the frame (the ones that aren�t inside the circle), the Frame receives the event, and not the things that are behind it. Like, if i open the notepad and then my program over it, i see just the circle over the notepad, but when i click the parts of the frame i made transparent using Robot..., the focus goes to the Frame, and not to the notepad...
    i really apreciate your replies.. if no one knows how to solve it.. ok.. it happes :)...

  • Transparent Windows Forms in Windows Embedded Compact 7

    I am looking for a solution to make the background of a Windows Forms in a Windows Embedded Compact 7 device transparent. These approaches have failed:
    - override void OnPaintBackground with empty code block
    - using the open source project AlphaMobileControls

    Sorry, I thought that article had more detail.  Now I look at it again it's rather less useful than I thought.
    bitblt is copying pixels.
    https://msdn.microsoft.com/en-us/library/aa452879.aspx
    The way this would have to work ( afaik ) is you copy some proportion of the bits out the rectangle behind your window.
    If you want low opacity rather than completely transparent you would merge them with whatever colour you want the background to look a bit like.
    You'd be painting a picture onto the background in the onpaint.
    If your user moves the "transparent" window then you need to copy the background from the new location.
    If it were me I'd push back on the requirement.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

  • Transparent windows on Linux

    Hi all,
    My HTML/JS AIR app uses alpha-blended PNGs to apply a pretty window decoration on the desktop. On Mac and Windows, it looks great and works exactly how I would like. On Linux though (Ubuntu on VirtualBox) the transparency does not work, and I've got a big black border where the alpha blending should be.
    Is this expected on Linux, and I should wrap a normal window around instead, or should I expect to see alpha blended windows behave and look the same as on Mac/Windows?
    Cheers!
    Garry

    Hi Garry
    To be able to view transparent windows you need to enable desktop effects (this is not a limitation of AIR but of display managers). Unfortunately desktop effects cannot be enabled on virtual machines, you can only do that on a physical machine.
    -Thanks
    Sundeep

  • My firefoz opens but opens a transparent window that only has the close,minimize and maximize buttons.

    So my firefox has been running well but when i updated my computer, it stopped working. when i double click the icon, it opens a blank transparent window with only the maximize, minimize and close buttons. you cannot even tell its firefox. it does not display any error messages and installing again does not work.
    what is this and how do i fix it?

    hello nachoz88, [https://support.mozilla.org/en-US/questions/940393#answer-377118 from another user] we found out that this might be related to malware active on your pc. please close all firefox windows and try [[Troubleshoot Firefox issues using Safe Mode|running firefox in safemode]] (by pressing the shift key while you're starting it). in firefox safemode go to firefox > addons > extensions and remove the entry named "Codec v1.0" or any other addons that look suspicious & you have not installed intentionally. afterwards see if you can run firefox normally again...
    please also do an in-depth scan of your system with the security software already in place and/or a different tool like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & keep firefox and your plugins up-to-date in order to stay safe on the web.
    [[Troubleshoot Firefox issues caused by malware]]
    [[Update Firefox to the latest version]]
    https://www.mozilla.org/plugincheck/

  • After purchasing the Photoshop cs6 update for my Mac, the download page says for "Windows". Will this still work? How do I get the right download without purchasing again

    After purchasing the Photoshop cs6 update for my Mac, the download page says for "Windows". Will this still work? How do I get the right download without purchasing again?

    no.
    you need the update for a mac, not windows.
    Product updates

Maybe you are looking for

  • Exchange 2007 and exchange 2010 Federation

    Hi all I am trying to federate between Three organisations org A exchange 2007 with exchange 2010 cas org B exchange 2010. org C exchange 2010. I cannot share my calendar from org A to Org B I can share Org B to Org A and Org B to Org C. when I try f

  • Utility Window Pane is Missing in Motion 4

    I am a new user of Motion.I was getting familar with Motion 4. I belive I clicked on the little Red dot which closes the panes on the file browser window which is usally situated on the far left of the screen. I say usually because I have never seen

  • Photoshop CC constant crashing

    HELP! I keep having PS CC crash during use. It doesn't happen upon launch. It happens as soon as it is working on completing a task... such as field blur or even as simple as an adjustment layer. I have uninstalled and reinstalled it and it worked fi

  • Photo Editor doesn't open in Elements 11

    Hello every one i have problem when i open Photo Editor on Photoshop element this error message appear to me to know:-  i download the trial version my pc is HP windows 7 Home premuim 64bit and my pc info is shown in photo down so please can some one

  • Mac OS X: Update to 10.7.2 Server- now GCC is missing

    Hey this is my first thread so be gendel Well anyways I have update to 10.7.2 Server and after that I can't use GCC, and I don't seem to be able to find it on the computer, I get the following output from terminal: 56344221:test username$ man gcc No