Making an invisible window visible - problems

How do I make a currently invisable window named "newwin" visable from the page that launched the window?
Inside "index.html" I open a new window with the following code:
var options = new air.NativeWindowInitOptions();
options.systemChrome = "none";
options.type = "normal";
options.transparent = true;
var windowBounds = new air.Rectangle(20,25,900,600);
newwin = air.HTMLLoader.createRootWindow(true, options, true, windowBounds);
newwin.load(new air.URLRequest("skin.html"));
Inside "skin.html" (launched inside "newwin" window):
window.nativeWindow.visible = false // works as expected - window becomes invisable
Now inside "index.html" I have a command to make "newwin" visable again (which isn't working):
I have tried:
window.nativeWindow.visible = true (opens up the main application window)
newwin.nativeWindow.visible = true (TypeError: Undefined value)
newwin.visible = true (does nothing - no error but doesn't make newwin visable)
newwin.options.visible = true (TypeError: Undefined value)
newwin.nativeWindow.options.visible = true (TypeError: Undefined value)
newwin.activate()  (TypeError: Value undefined does not allow function calls.)
newwin.nativeWindow.activate() (TypeError: Undefined value)
all come up with "TypeError: Undefined value"
How do I make a currently invisable window named "newwin" visable?

newwin is an HTMLLoader object. To get to the NativeWindow object you can use either newwin.window.nativeWindow or newwin.stage.nativeWindow.
So:
newwin.window.nativeWindow.visible = true;
or:
newwin.window.nativeWindow.activate();
should work.

Similar Messages

  • Open Link in New Window creates an invisible window (visible after restarting).

    When I use the right mouse button menu to Open Link in New Window from a web page it creates an invisible window. That is, I cannot see the window but it is listed in the Firefox Window menu. This newly opened window cannot be selected either by mouse or from the Window menu. However, if I quit and restart Firefox the new window appears as 0 pixels wide (i.e., a 1 pixel wide vertical line) and I can select it (by mouse or Window menu) and zoom it from the Window menu. After zooming I can operate on the window normally.

    Get Firebug and inspect the element. You'll see that it actually is this:
    onclick="javascript:saw.runThis
    URL('saw.dll?PortalProperties&_scid=To2OnvCVXpY&PortalPath=/shared/paint/_portal/PoC\x2520FINS&Done=ManagePortals\x2526Done\x253dAdmin');return false" href="javascript:void(null)" FF doesn't even give you the "Open..." options and all IE versions as of 7 show them but actually don't do anything when you invoke them.
    Edited by: Christian Berg on Sep 9, 2009 10:36 AM

  • Making Subform invisible or visible

    Hi ,
    I wanted to make a subform visible or invisible on selecting a radiobutton.
    I tried using
    <subformname>.presence = "invisible";
    in the click event of radiobutton , but its not working.
    Please suggest a solution.
    Points will be rewarded.
    Thanks.

    Hello Thomas,
    You can use the following pattern of the Scripting to hide subforms.
    <formName>.<Subform Name>.presence = "hidden";
    few important points to remember :
    1. use scripting language as 'Java Script'
    2. write the script under 'initialize' mode and the Run at option should be set to 'client'.
    Hope, this helps in resolving your issue.
    Regards,
    Debasish

  • Invisible windows appears when trying to open a new window. These windows are listed in the Window list, but I cannot switch to them or close them. This also occurs when I try to "View Source". This was not a problem prior to my 6.0 upgrade.

    I cannot open a new window for FireFox.
    Invisible windows appears when trying to open a new window. These windows are listed in the Window list on the menu, but I cannot switch to them or close them. This also occurs when I try to "View Source". This was not a problem prior to my 6.0 upgrade.
    The Downloads Window cannot be accessed either.
    This is very annoying. Is this a bug? Or is there a fix.

    If anyone is reading this still looking for what caused the issue and how to fix it here is what I discovered.
    The antivirus program our company uses, Bitdefender Antivirus Plus, was causing some of the PDF files not to open. After troubleshooting the different modules and settings the culprit was..
    Scan SSL in Privacy Control Settings. Turning it OFF solved the problem and all the PDF files that previously would not open now open just fine. This issue has been sent to Bitdefender for them to review. If you use a different antivirus program and are having this issue try locating the Scan SSL setting and see if turning it off solves the problem.

  • Making invisible folders visible

    How do i make invisible folders visible?

    Open the AppleScript Editor in the /Applications/Utilities/ folder and run the following exactly as written below:
    tell application "Finder" to quit
    do shell script "chflags nohidden " & quoted form of POSIX path of (choose folder with invisibles)
    delay 2
    tell application "Finder" to run
    To change the global setting instead of making single items visible, replace the second line with:
    do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
    (89379)

  • Making windows visible

    Can I make a small non-LabView window visible by say having it appear on a page in a tab control?

    Provided the "program" in question provides the required services, LV will let you embed the other program in a sub-panel (as mentioned above).
    In the case of the program you are describing it appears it does not offer such services, so the best you will be able to do is to run the program in a DOS window using sysexec.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Office 2013 invisible windows

    I have a strange problem that seems to be occurring randomly but regulary on my computer. It also seems to effect some of my collegues but not to the point it does for me.
    The problem is that with my Office 2013 installation I will every once in a while get invisible windows for Office 2013 applications. This means that one or more of my open Office 2013 windows turns invisible and can not be accessed unless first minimized
    by right clicking the taskbar icon and then restored/maximized again. Then the window will turn normal again. A side effect of this is also that sometimes the invisible window is the top window making it impossible to click on whatever window seems to be on
    top (but actually is under the invisible window).
    This applies to all applications in the Office 2013 installation, I have seen the bug for Word, Excel, Outlook (main window, open email conversations, etc), Powerpoint and Access.
    The behaviour is similar to what is described in the following (but closed) thread for the preview version but I am using the latest version with the latest updates from Microsoft Update. The difference is that I do not see any connection to closed windows
    as described in this thread.
    http://social.technet.microsoft.com/Forums/en-US/officeitpropreview/thread/fac48ad4-516c-457c-ba89-56f47f465841/
    I am using Microsoft Office Professional Plus 2013 (Swedish) but I also have Excel 2003/2007/2010 installed. I have never seen this for any of the earlier versions so this is something new for Office 2013.
    Anyone have any solution to this?

    I've experienced this problem since day 1 of installing office 2013. i don't open attachments as often as some folks might, so that's not where i see the problem. usually one of the office 2013 window will just randomly be invisible when i switch to it.
    i'm used to it by now and i know to either alt+space+r or x (resize window, maximize window) and the window will properly repaint/refresh itself. if i know the form is maximized i can also grab the invisible window handle at the top of the screen, drag it
    around, and it repaints itself.
    I would think it's an issue with some new window container system office uses, because i see it on outlook, onenote, excel, practically all of them that i use. i use no third-party plug-ins except lync and live meeting, and since they're microsoft products
    i don't even consider those as third-party. what comes to mind is the cute new 'customize the look of the office windows' system. i picked the geometric pattern (lol is that bad?). 
    this is on a dell precision company laptop, windows 7 x64, nvidia graphics card, and office 2013 x32. it may be relevant that dameware is installed and running at all times. i wonder if anyone else with this problem also runs dameware?

  • Connecting iPod Nano 8GB video model to Windows 2k problems

    Hello!
    I hope someone can help, I had a MacBook that died and now I need to move our 4 iPods to the windows 2k environment. When you plug in the iPod it says that it needs to be converted to Windows, not problem, I click "OK" then iTunes starts and gives me the following message:
    The iPod "IPOD2" cannot be used because it requires iTunes version 7.6 or later.
    Go to www.itunes.com to download the latest version of iTunes.
    Ther is NO 7.6 for Windows 2K? Any help could be appreciated.
    I have the latest version for W2K, and I have 1 Nano that has syncd fine. Anyone have any ideas, I have searched and tried all the tech docs I could find to no avail. The iPod is visible in "My Computer" but when you click on it it asks if I want to format it, worried about doing that. Can't find any instructions on resetting the iPod back to factory/out of the box WITHOUT ITUNES! that may help!
    Thanks,
    John

    Ther is NO 7.6 for Windows 2K?
    I'm afraid not. The last version of iTunes for Windows compatible with Windows 2000 was 7.3.2:
    http://www.apple.com/support/downloads/itunes732forwindows2000.html
    ... and the third generation (video) nanos require at least iTunes 7.4.x (and 7.6 is currently recommended).

  • Photoshop CS4 Pen Tool Visibility Problem

    I recently upgraded to CS4 and started using Photoshop to do some work. Working on some clipping path with the pen tool I've come to notice how incredibly light the pen tool outline is. I cant see where or what im tracing cause I can't tell where the line is unlike the other earlier creative suites where the line was visible.
    Anyone have any ideas on making this outline more visible so I can actually see what I am doing. Input would be much appreciated.

    I am having the exact same problem with Photoshop CS 4 on my MacBook OSX 10.5.7 4 GB RAM    Intel GMA X3100:  graphics card
    When I enable Open GL in PS CS4 preferences, the pen tool line is too light, too thin to use and the anchor points aren't accurate , I have to disable Open GL to get the normal pen function back. Adobe should get us a fix to make Open GL compatable with all graphics cards. All functions in Open GL work fine except the Pen Tool.

  • WINDOWS INSTALLER PROBLEM WITH DESKTOP MANAGER

    Please help!! I am a user of the Blackberry Desk Top Manager, running under Windows XP Service Pack 4.5. I recently downloaded the latest version of Desk Top Manager and I am getting the following error: - Flashing intermittently, whilst running the newly downloaded Desktop Manager - "Windows Installer Preparing to Install". I have removed the programme, downloaded it again from Blackberry's website and run my Windows updates to no available. I have now been advised that I must format my entire computer and reload Windows, which seems to be a rather onerous solution, as I have been using Blackberry's Synchronisation Programme for over a year successfully before this took place. I should appreciate it if you would let me know how this problem on my IBM Think Pad Laptop can be cured.

    halimsujanto wrote:
    Hi all..
    I am having the same problem with desktop software 6, but my problem is more like this..
    http://www.blackberry.com/btsc/KB19300
    The Windows Installer pop-up during installation and cannot continue, it seems that windows installer 4.5 is the cause, but I cannot uninstall windows installer 4.5 because many of my programs were using this..
    In this knowledge base solution it says to run BlackBerry Desktop Software.msi, but on BlackBerry Desktop Software 6, it need to run from setup.exe and cannot continue.. so I cannot install desktop software 6 on my computer, but I am able to install older version desktop software ie. version 4.2 to version 5.
    I think that I am gonna reply here instead of making new thread about windows installer 4.5 and Desktop Software 6, please move if I did wrong.
    PS. Bifocals..
    The link you provided is missing. Or it just back to BlackBerry Technical Solution Center page and I tried searching the KB13781 with no success.
    Please if there is other link that may be good for my problem.
    Thank you very much.
    Hi ihalimsujanto and welcome to the forums!
    My first concern is that you do have a version of desktop manager that you can maintain your device and PIM data with, do you?
    Please post back with as much detail as possible regarding your hardware and software setup.
    Also post what steps you have taken to resolve the issue. The more detail we have the better we can help you. I'll reread KB 19300 and find what happened to my broken link.
    Thanks.
    Bifocals
    EDIT:
    ihalimsujanto,
    Please review this Microsoft Knowledgebase  Article ID: 555175
    How to resolve Common "Windows Installer" Problems
    Methods 3 and 4 may be pertinent.
    Let us know how it goes!
    Bifocals
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • DW CS5 Mac10.7.x: keep DW windows visible when DW not at front?

    When DW is the front-most app, all currently-open DW windows are visible.
    Switch to another app, including the Finder, all DW windows disappear.
    Any way to change this behavior?  Any way to keep DW windows visible when it is not the front-most (active) app?
    Why do I ask?  For one thing, as it stands, I find it very difficult to document something that's going on in DW, say in a forum -- this one!
    TIA

    shunithD wrote:
    SnakEyez...
    Happens with several documents i tested... including DW default templates. Only option to validate was 'As XML', with CF greyed out - even though it was unchecked in the preferences. After installing the extension (mentioned in original post), i got the option of 'Markup' and the CF option has gone. Now, validating 'Marku'p works but 'As XML'  still freezesDW.
    Seems to be a known bug... Here's the thread:
    http://forums.adobe.com/message/3005271#3005271
    Cheers,
    S
    But are they different document types?  When you create a new document are you trying different types like XHTML 1.1, HTML5, HTML4, etc?  The more details you can provide the more likely the problem will be fixed.  Currently I am using CS5.5 on a Mac and the validation works for me in multiple types so the more you can tell Adobe when you submit the bug report the better.
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • "HWNDBasedPanelView UID:1034" Invisible window?

    Hi to all
    Today When I started InDesign CS4, a strange window appeared with the application named "HWNDBasedPanelView UID:1034". It's like some process related with inDesign. The program works fine, but that invisible window keep appearing along InDesign in the taskbar and It's very annoying.
    Everything started when I rolled back my machine to a previous state using System restore to roll back an old video driver (Nvidia Ge force Go 7600).
    I'm using Windows Vista Home Premium 32 Bit.
    Thanks for your answers...

    Dear Sir,
    since yesterday (17/06/2010) I am heaving the same problem.
    Another window but in mine is written
    HWNDBasedPanelView UID:94006
    How can I solve it.
    Thanks

  • Reports 6i windows display problem on Windows NT system

    Iam using Reports 6i on Windows NT.All the reports 6i windows are became transporent windows, displying problem (repainting problem). I did fresh installation. But iam not able to solve this.

    I am using same fonts on all these plateforms.Look more closely at those fonts. They may have the same names, but the Windows 2000 versions may be larger (able to render more characters).

  • I share a an apple id with my kids. We all use the same credit card for purchases.  Is it possible for only me to use the icloud online storage without making this available or visible to the kids?

    My kids and I all use the same credit card and password for app and music purchases.   I'm assuming we all use the same apple ID too. (not sure) We can share apps and music although we all have our own itunes libraries. Is it possible for only me to use the icloud online storage without making this available or visible to the kids or do we all have our own storage?

    I just checked and they have already sucked up all my online storage.  Ahhh techy teens!  I think I will just leave it at that and back my own stuff up on my computer. Less confusing
    Thanks for all the help!  I am definitely more educated now and I'm off to check that cc bill too.

  • [SOLVED] GNOME 3.8 annoying window resize problem

    Hello all fellow early-adopters :-)
    A very annoying quirk I've noticed, moving from GNOME 3.6 to 3.8, is that it no longer remembers, nor retains, the size/positions I set for many of my application windows. For example, my mail client (Evolution) is sized to fill most of my screen (centrally), with Empathy and Skype as long narrow windows on both sides - giving me a nice, broad "communications" overview on that particular desktop (with dev tools etc open on others).
    On 3.6, this layout was retained during my session, as well as next time I started these apps up.
    In GNOME 3.8, not only does it insist that these windows are always started as small little bunched-up windows that I need to resize, but every time a window displays a notification/warning (message in internal yellow bar inside the window - such as loss of internet connection, mail retrieval failure etc) it resizes the windows spontaneously to a stupid, small size that overlays the other windows. This is driving me crazy!
    Where can I learn a bit more about how window sizing / positioning works in GNOME 3.8, or is it finally time to switch to awesome wm? I want to love GNOME 3.8, I really do. It's so slick, but so... unpolished.
    I want to dig in an assist with problems like these, but I need some pointers to some background material first to understand the problem. Is it the window manager? Is it the app?
    ** UPDATE: Doing a full system upgrade, as of May 18, 2013, has resolved this annoying problem. My windows now stay where they belong, and start with the same size they were closed with. GNOME is now pleasant to use again :-)
    Last edited by dawid.loubser (2013-05-21 13:37:25)

    dawid.loubser wrote:Thanks for the suggestion drtebi - I'll give it a try.
    I really like GNOME 3.x though (and would like to understand the windowing behaviour), but if the annoying quirks are insurmountable, I will happily switch.
    Man I love GNOME 3.x. I admire the courage they had to change, basically, everything, and I find myself more productive with my GNOME 3 Arch box than with my good ol' Slackware KDE 4 box. I just hate those bugs - for example I filed a task in their bugtracker for this window resize problem I have with gedit. If it's a love/hate relationship, I think it's marriage ^_^
    With the 3.8 upgrade, deadbeef was having a similar problem with window size/position. I just recompiled it against the latest GTK+3 package upgrade (that came after the 'big upgrade' here on Arch) and it was fixed. But not with gedit
    bwat47 wrote:
    Man I really hope this gets fixed soon, because aside from this one incredibly annoying issue I am loving gnome 3.8.
    I get the feeling gnome badly needs more beta testers, sizable regressions like this in "stable" releases happen way too often sad.
    I get the exact same feeling. Well bugs exist everywhere, there's no denying. But I think it would be wiser to 'alternate' the nature of each major stable release - one focusing on new features and one focusing on fixing bugs. For example if the only new features in GNOME 3.10 were the AppsFolder full implementation and the introduction of gnome-calendar, and the rest of the development cicle being devoted to fix bugs, I'd be more than happy.
    Like Fedora and Ubuntu, the fixed 6-month release cycle colaborates with the bugs. They don't do like Debian or Slackware which are released 'when they are ready'.
    EDIT: fout (yet) another bug. At least with facebook chat (haven't tested with other telepathy plugins) the buddy tray icon appear duplicate. Anybody with the same issue?
    Last edited by lmello (2013-05-02 14:06:06)

Maybe you are looking for

  • New to Premiere, from Final Cut. Help editing native RED r3d

    I am one of the many new converts to Premiere Pro CS5.5 from Final Cut after many years using the Apple software. I want to dive right in and start editing with Premiere, but I've run into an immediate snag. First, I have heard endless discussion abo

  • Calling function from PL/SQL block

    Hi, A very simple question. A have a function called "test1" in my database. It is there i double chekked. I would like to call this function from a block: DECLARE BEGIN TEST1(1202); END; This gives me an error. Why is this?

  • Screan keeps going black while it is on

    have a hp 2009m monitor it wont stay lit up turn it on stays on 2 seconds then goes black turn it off and back on again and it comes back on again for 2 more seconds then goes black again  does any one  knows what the problem might be thanks         

  • [zsh] cannot input non ASCII characters

    When inputing non-ASCII characters (Chinese, for example) under command line, it becomes something like ä½? what is really should be printing is 你好 I've searched a little bit on this, and answer has always been "zsh has unicode support already after

  • How to Lock a Transaction for Editing AND VERY minor tab cont. help

    Just two things I need to ask about <b>1. How to Lock a Transaction for Editing</b> I am currently using the fcode ENQUEUE_E_TABLE. The function works as once the transaction in opened, another cannot access it. However, I have two modes in my transc