Accessing Close button in TitleWindow

Hi all,
I have a situation where I'm adding buttons to a TitleWindow
chrome. They co-exist with the close button provided by the panel.
I create classes for my button images and then I size the buttons
to fit the image.
I also set the styles for the panel-provided close button
with classes. My goal was to have all the buttons look & feel
the same.
Excerpt from application mxmxl ...
<mx:Style>
TitleWindow {
backgroundColor: #333333;
closeButtonDisabledSkin: Embed("assets/close.png");
closeButtonDownSkin: Embed("assets/closeDown.png");
closeButtonOverSkin: Embed("assets/closeDown.png");
closeButtonUpSkin: Embed("assets/closeUp.png");
</mx:Style>
<v:ResizeWindow id="testResizeWindow"
height="50%"
width="50%"
title="Resize Window"
useWindowButtons="true"
status=""
showCloseButton="true"
restoreWindow="this.currentState=''"
maximizeWindow="this.currentState='maximized'"
minimizeWindow="this.currentState='minimized'"
close="popUp('Close button clicked')">
</v:ResizeWindow>
Excerpt from my ResizeWindow class ...
override protected function createChildren():void{
super.createChildren();
if(useWindowButtons){
if(btnMinimize == null){
btnMinimize = new Button();
var btnMinimizeImageObj:BitmapAsset = new
btnMinimizeUpSkin() as BitmapAsset;
btnMinimize.width = btnMinimizeImageObj.width;
btnMinimize.height = btnMinimizeImageObj.height;
btnMinimize.setStyle("upSkin", btnMinimizeUpSkin);
btnMinimize.setStyle("overSkin", btnMinimizeDownSkin);
btnMinimize.setStyle("downSkin", btnMinimizeDownSkin);
btnMinimize.addEventListener(MouseEvent.CLICK,
minimizeHandler);
btnMinimize.focusEnabled=false;
btnMinimize.visible=true;
rawChildren.addChild(btnMinimize);
Questions:
1) For the buttons I add (e.g. btnMinimize) ... if I don't
explicitly set the width and height, they default to 0 and button
is invisible. Button class says it should size in accordance with
the image. Is this normal behavior?
2) Along the lines of #1 above, if I just create btnMinimize
and give it a text label (no image), the button sizes to a width
and height of 0. I have to set the width and height for it to
appear? Is this normal behavior?
3) I can't include a screen clip here but the close button
succesfully uses the images I provide but it is larger than the
other buttons (and the image is distorted). Can I set the height
and width of the close button to match the image I'm providing (or
conversely can I get the height and width of the close button so I
can size my buttons the same)?
Spent a few days and I'm getting nowhere ...
thx in advance for any help ...

Hi Laxmi,
User has no control on OVS window.You can't  add your custom button on OVS window.In OVS Listener implement the three life cycle methods  i)onQuery ii) applyResult and  iii) applyInputValues which are predefine.
Regards,
Mithu

Similar Messages

  • Grab close button from TitleWindow

    Hi.  I'd like to use the close button in the TitleWindow in a VBox (or other container).  The TitleWindow isn't sufficient for my purposes, I pretty much just need a VBox, but I still need a close button.  Rather than dropping a button down, I'd like to maintain visual consistency and use the TitleWindow close button.  Do you know how I could get this button?  What code would I have to copy?  Once I have the button, I can attach the event handling I need to it.  Thanks!
    Using Flex 3.4 in Flex Builder 3.

    This should work (I grabbed the default mx:TitleWindow icon assets and used then as an mx:Button icon):
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Style>
            .titleWindowIcon {
                up-icon: Embed(source="Assets.swf", symbol="CloseButtonUp");
                over-icon: Embed(source="Assets.swf", symbol="CloseButtonOver");
                down-icon: Embed(source="Assets.swf", symbol="CloseButtonDown");
                disabled-icon: Embed(source="Assets.swf", symbol="CloseButtonDisabled");
        </mx:Style>
        <mx:Button styleName="titleWindowIcon" label="Button w/ special icon" />
    </mx:Application>
    Or, if you want to create a custom button and use the icon as a skin, this may get you closer:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Style>
            .titleWindowIconAsSkin {
                up-skin: Embed(source="Assets.swf", symbol="CloseButtonUp");
                over-skin: Embed(source="Assets.swf", symbol="CloseButtonOver");
                down-skin: Embed(source="Assets.swf", symbol="CloseButtonDown");
                disabled-skin: Embed(source="Assets.swf", symbol="CloseButtonDisabled");
        </mx:Style>
        <mx:Button styleName="titleWindowIconAsSkin" />
    </mx:Application>
    You can look at the defaults.css file here:
    C:\dev\flexSDKs\flex_sdk_3.4.0.9271\frameworks\projects\framework\defaults.css
    Peter

  • Need TitleWindow close button to just do its thing

    Hello everyone
    I have an editable datagrid in a TitleWindow with an enabled close button.
    If I activate the close button with a function, it does not allow me to edit the data grid (and performs its function). How can I just have the close button do its thing (but allowing me to edit my gata grid in the window? It performs the function  if I try to edit the datagrid. Its drivig me a little crazy. So I will take some asprins, and hope for some wise soul to help me
    This is the sample code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
            <![CDATA[
            import mx.collections.ArrayCollection;
            import mx.events.DataGridEvent;
            [Bindable]
            private var jan:Number = 200;
            private var feb:Number = 123;
            private var mar:Number = 67;
            private var apr:Number = 108;
            private var may:Number = 126;
            private var jun:Number = 199;
            private var jul:Number = 199;
            private var aug:Number = 199;
            private var sep:Number = 199;
            private var oct:Number = 199;
            private var nov:Number = 199;
            private var dec:Number = 199;
            private var dataset:ArrayCollection = new ArrayCollection( [
                { Month: "January", Data: jan },
                { Month: "Febuary", Data: feb },
                { Month: "March", Data: mar },
                { Month: "April", Data: apr },
                { Month: "May", Data: may },
                { Month: "June", Data: jun },
                { Month: "July", Data: jul },
                { Month: "August", Data: aug },
                { Month: "September", Data: sep },
                { Month: "October", Data: oct },
                { Month: "November", Data: nov },
                { Month: "December", Data: dec } ]);
            ]]>
        </mx:Script> 
        <mx:ViewStack id="viewstack1" width="464.46967" height="408.18182" horizontalCenter="-12" verticalCenter="0">
            <mx:Canvas id="Data" width="100%" height="100%">
                <mx:TitleWindow id="DataA" width="450" height="350" layout="absolute" title="Data" horizontalCenter="0" verticalCenter="-10" showCloseButton="true" >
                    <mx:DataGrid x="11" y="10" width="405.98486" height="290" dataProvider="{dataset}" editable="true">
                        <mx:columns>
                            <mx:DataGridColumn width="200" headerText="Month" dataField="Month" editable="false" sortable="false" />
                            <mx:DataGridColumn headerText="Data" dataField="Data" editable="true" sortable="false" />
                        </mx:columns>
                    </mx:DataGrid>
                </mx:TitleWindow>
                <mx:Button x="7" y="386" label="Graph" click="viewstack1.selectedChild=Graph;" />
            </mx:Canvas>
            <mx:Canvas id="Graph" width="100%" height="100%">
                <mx:TitleWindow  id="GraphA" width="450" height="350" layout="absolute" title="Graph" horizontalCenter="0" verticalCenter="-10" showCloseButton="true" click="viewstack1.selectedChild=Data;">
                    <mx:ColumnChart x="8" y="8" id="columnchart1" width="412.12122" height="290" dataProvider="{dataset}">
                <mx:horizontalAxis>
                    <mx:CategoryAxis categoryField="Month"/>
                </mx:horizontalAxis>
                        <mx:series>
                            <mx:ColumnSeries displayName="Series 1" xField="Month" yField="Data"/>
                        </mx:series>
                    </mx:ColumnChart>
                </mx:TitleWindow>
            </mx:Canvas>
        </mx:ViewStack>
    </mx:Application>

    It's still not really clear what you want to do here.  Do you mean you want to be able to click the close (X) button while editing a field in the datagrid, but have the field remain in edit mode?  I ran your example (minus charting components I don't have at home, snowed out of work and Flex Pro at the moment ) and it seems to behave "as I would expect", but maybe I just don't understand what your goal is.
    Also - if you're using the close (X) button for anything other than closing a dialog... I wouldn't recommend doing so from a UI design perspective.  Users will expect a 'close' button to behave as it does in other applications, to close the panel/dialog/window (not the change the view within a dialog).  If you intend on using it to back out of a sub-view I'd reconsider.  You may want to try a TabNavigator (lazy man's ViewStack but quite effective if it fits your application) instead of a ViewStack.

  • Unexpected performance of Firefox in Windows 7, namely minimize/maximize/close buttons not working and unable to move/resize window.

    I have been using FF for a while now. My main computer was WinXP-32, though I recently bought a new laptop with Win7-64 installed. This problem was never experienced on my WinXP machine.
    Brief description of problem:
    After a time of having FF up and running, the minimize/maximize/restore/close buttons in the top-right no longer work as expected and, if not maximised, I cannot move the window around my desktop nor resize the browser window. When clicked, the buttons will
    rapidly flash on and off continuously without appearing to perform any noticeable function other than temporarily hogging CPU cycles. I've found that clicking (sometimes double clicking) in the main browser window then mousing over the buttons again seems
    to stop them flashing, though does nothing else.
    To minimize/maximize/restore/move/close the window(s), I have to right-click on the relevant tab in my taskbar and pick the desired option. Occasionally, however, even this doesn't work and the right-click menu will disappear as soon as I move the mouse
    over it after right-clicking. 'Show desktop' is a temporary fix for minimising windows and 'ALT + F4' or 'CTRL + W' for closing windows or tabs. This isn't satisfactory and to move or resize a window, I have to close the window in question (sometimes all other
    windows too), reopen it and do what I need to do, though sometimes even this is only a very short fix. If I have to close all the windows, FF will sometimes keep running for a while afterwards, even though no windows are actually open - simply ending the process
    via the windows task manager will fix this though is only a work-around, not a fix.
    One thing I have noticed is that if I manage to move the browser window (when not maximised), for a short period afterwards I can often resize the window successfully. This is more likely to occur if the browser window is not flush with the edge of my screen
    once moved.
    I've tried to include as much information as I can - most of which was determined after several minutes/hours of playing around with different scenarios, trying to manually reproduce particular problems or simply through sheer luck of happening to click
    in the right place at the right time! I hope there is a reasonably fix for this at some point in the not-too-distant future.
    I noticed in some of the threads at another site where people have voiced problems similar to mine, that a link to 'ObjectDock' was discovered in some cases. I do have 'ObjectDock 1.90 Plus' installed on my machine and use it in many ways and so decided
    to see if I could find a connection between the two. I have uninstalled, tested, and reinstalled both programs in a multitude of ways, though could find no conclusive correlation between having both bits of software running or installed at the same time and
    the problems I am experiencing. In my case, at least, this does not appear to be an answer.
    Also, in another thread on this site, someone suggested there might be a link with AVG Anti-Virus Free (I have version 9.0.819) though I've tried uninstalling it and its various add-ons in several different combinations, with no noticeable improvement.
    Sorry for such a long question... If you need to know anything more, just let me know!
    - James
    System Information:
    Operating System: Windows 7 (64 bit)
    Firefox Version: 3.6.3
    Application Basics
    Name
    Firefox
    Version
    3.6.3
    Profile Directory
    <button onclick="openProfileDirectory()"> Open Containing Folder </button>
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Update Service
    1.2
    true
    [email protected]
    Java Console
    6.0.17
    true
    {CAFEEFAC-0016-0000-0017-ABCDEFFEDCBA}
    Adblock Plus
    1.2
    true
    {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
    Download Statusbar
    0.9.6.8
    true
    {D4DD63FA-01E4-46a7-B6B1-EDAB7D6AD389}
    Cooliris
    1.11.6
    true
    [email protected]
    FoxTab
    1.3
    true
    {ef4e370e-d9f0-4e00-b93e-a4f274cfdd5a}
    Save File to
    2.0.1
    true
    [email protected]
    1-Click YouTube Video Downloader
    1.4
    true
    [email protected]
    British English Dictionary
    1.19
    true
    [email protected]
    Tab History
    1.0.7
    true
    {84417002-6445-49b4-9fd7-1ef48240fa41}
    Universal Print
    0.4.23
    true
    {BE2100B3-1D80-48eb-ACCF-D26750644378}
    Active Stop Button
    1.3.0
    true
    {9e96e0c4-9bde-49b7-989f-a4ca4bdc90bb}
    Fission
    1.0.9
    true
    {1280606b-2510-4fe0-97ef-9b5a22eafe41}
    Smart Bookmarks Bar
    1.4.3
    true
    [email protected]
    Compact Menu 2
    3.1.1
    true
    {57068FBE-1506-42ee-AB02-BD183E7999E4}
    Menu Editor
    1.2.6
    true
    {EDA7B1D7-F793-4e03-B074-E6F303317FB0}
    Locationbar²
    1.0.5
    true
    [email protected]
    RealPlayer Browser Record Plugin
    1.0
    true
    {ABDE892B-13A8-4d1b-88E6-365A6E755758}
    AVG Safe Search
    9.0.0.812
    true
    {3f963a5b-e555-4543-90e2-c3908898db71}
    Searchbar Autosizer
    1.4.5
    true
    {655397ca-4766-496b-b7a8-3a5b176ee4c2}
    Open Bookmarks in New Tab
    0.1.2010043001
    true
    [email protected]
    Remove New Tab Button
    1.0
    true
    [email protected]
    New Tab Homepage
    0.4.2
    true
    {66E978CD-981F-47DF-AC42-E3CF417C1467}
    SwiftTabs
    0.3.6.8
    true
    {5F4EC95A-FFA8-11DE-898C-667D55D89593}
    Tab Kit
    0.5.8
    true
    [email protected]
    Hide Find Bar
    1.3.1
    true
    [email protected]
    Toolbar Buttons
    0.6.0.8
    true
    {03B08592-E5B4-45ff-A0BE-C1D975458688}
    Java Console
    6.0.19
    true
    {CAFEEFAC-0016-0000-0019-ABCDEFFEDCBA}
    View Cookies
    1.10.1
    true
    {8F6A6FD9-0619-459f-B9D0-81DE065D4E21}
    Adobe DLM (powered by getPlus(R))
    1.6.2.63
    true
    {E2883E8F-472F-4fb0-9522-AC9BF37916A7}
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.history_expire_days.mirror
    180
    browser.places.importBookmarksHTML
    false
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage
    http://www.bath.ac.uk/
    browser.startup.homepage_override.mstone
    rv:1.9.2.3
    browser.tabs.closeButtons
    0
    browser.tabs.tabMinWidth
    77
    browser.tabs.warnOnClose
    false
    extensions.lastAppVersion
    3.6.3
    network.cookie.prefsMigrated
    true
    network.http.pipelining
    true
    network.http.pipelining.maxrequests
    50
    network.http.proxy.pipelining
    true
    places.last_vacuum
    1271706454
    privacy.sanitize.migrateFx3Prefs
    true
    privacy.sanitize.timeSpan
    0
    security.warn_viewing_mixed
    false
    security.warn_viewing_mixed.show_once
    false

    Hi Kossa,
    You can also check if the issue occurs in
    Clean Boot. If the issue disappears in the Clean Boot environment, you can continue to narrow down which entry is causing the issue.
    Besides, uninstall it and re-download
    a fresh copy of FireFox to check the result. If the issue still exists, create a new user account to see if it occurs.
    If the issue persists, you can contact Mozilla Support directly and use Internet Explorer (IE) during the time.
    J
    Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise,
    regarding this product's performance or reliability.
    Regards,
    Linda

  • Is it possible to change the size of the 'Close' button in Full Screen viewing mode?

    I am currently using Firefox for a kiosk type scenario. We require that the browser run full screen. The issue is that the 'Close' button is not large enough for users to consistently see, so they're having issues figuring out how to close an active browser window.
    Can anyone tell me if it's possible to change this icon? I've tried using themes, but they tend to theme everything but the close button.
    Custom configuration details are below.
    Firefox version: firefox-3.0.4-1.el5.centos
    Customisations:
    Access to local drives disabled:
    Modified the contents of /usr/lib/firefox-3.0.4/chrome/browser.jar, so that browser.js has the added stanza:
    <pre><nowiki>if (location.match(/^file:/) ||
    location.match(/^\//) ||
    location.match(/^resource:/) ||
    (!location.match(/^about:blank/) &&
    location.match(/^about:/))) {
    loadURI("about:blank");
    }</nowiki></pre>
    Various menus & bookmarks disabled in chrome/userChrome.css
    <pre><nowiki>/* Kill "normal" bookmark icons in the bookmarks menu */
    menuitem.bookmark-item > .menu-iconic-left {
    display: none;
    /* kill icons for bookmark folders in Bookmarks menu */
    menu.bookmark-item > .menu-iconic-left {
    display: none;
    /* kill icons for bookmark groups in Bookmarks menu */
    menuitem.bookmark-group > .menu-iconic-left {
    display: none;
    /* Remove the Edit and Help menus
    Id's for all toplevel menus:
    file-menu, edit-menu, view-menu, go-menu, bookmarks-menu, tools-menu, helpMenu */
    helpMenu { display: none !important; }
    tools-menu { display: none !important; }
    file-menu { display: none !important; }
    edit-menu { display: none !important; }
    view-menu { display: none !important; }
    go-menu { display: none !important; }
    bookmarks-menu { display: none !important; }
    #autohide-context { display: none !important;}
    #bookmarksToolbarFolderMenu { display: none !important;}
    #organizeBookmarksSeparator { display: none !important;}
    .tabbrowser-tabs .tab-icon {
    display: none;
    #urlbar {
    font-family: Arial !important;
    color: Black !important;
    font-size: 26 !important; }</nowiki></pre>

    Try code like this:
    <pre><nowiki>#window-controls .toolbarbutton-icon {
    width: 25px !important;
    height: 25px !important;
    </nowiki></pre>
    The three buttons have these IDs:
    <pre><nowiki>#minimize-button
    #restore-button
    #close-button</nowiki></pre>

  • Quicktime won't display the minimise, restore, close button options in windows microsoft, quicktime won't display the minimise, restore, close button options in windows microsoft

    Hi,
    I know there will probably be a simple fix for this.  Just about all the options in the file menu etc. are grayed out.  The usual minimise, restore, close buttons diplayed in microsoft windows applications are not displaying.  Would anyone be able to help me find out how to access these please?

    I'm doing the exact same thing.  Iphone 2g won't connect to the itunes store.  I get an error message saying the network connection timed out, but all diagnostics are OK.  I've turned off antivirus, firewall, check ie settings, uninstalled/reinstalled itunes... nothing has worked.  Have you had any luck?  And if so, what did you do? 

  • Firefox 4 Beta (v9,10&11) opens on my PC (Win 7) and creates tabs but only the close button works I cannot click on any tabs or content in the "active" tab?

    It looks like Firefox has started ok, all the tabs are populated, but nothing can be accessed by clicking except the Close button and the right hand scroll bar... it is frustrating. Firefox 3 works fine still.

    Create a new profile exclusively for the 4.0 beta version and create a desktop shortcut with -P "profile" appended to the target to launch that profile.
    * http://kb.mozillazine.org/Testing_pre-release_versions
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Every once in a while, a black box will cover the windows minimize, maximize, and close buttons, and then I can't minimize firefox quickly or easily.

    After a bunch of browsing, a black window takes over the windows caption bar and covers the minimize, maximize, and close buttons. When this happens, I can't close firefox except by accessing the firefox menu. And there is no way to minimize or maximize the window.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • How to add close button in pannel ?

    hai friends,
        how to add close button in pannel ? give any example.
    regards,
    welcomecan

    Hi Welcomecan,
    You can use the TitleWindow as suggested by Subeesh for having a built in close button...The TitleWindow is infact an extension of the Panel container. TitleWindow is most generally
    used for creating PopUp Windows.
    Check the below link for examples...
    http://blog.flexexamples.com/?s=TitleWindow
    Thanks,
    Bhasker

  • "Close" button on tab minimizes FF4?

    When there are enough tabs open, the last tab covered over the "Min", "Max", "Close" buttons for FF4; and clicking the "Close" button on that last tab minimizes FF4 instead of closing the tab out! Bug?

    Set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing the browser and make a close button appear if only one tab is open.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Playbar close button on iOS 8

    Since i've upgraded my phone to iOS8 i've noticed the close button on the playbar no longer seems to close courses i'm developing. However as this is the only iOS8 device i've got access to so i don't know if its a bug introduced by the new version or my phone (which is slowly dying anyway). Has anyone else noticed this happen?

    Apparently its a known bug in the new Safari that it doesn't support window.close, hope this gets fixed quickly!

  • IE10 Close Button

        I have a webhelp section exported from RoboHelp 10 and the close button on the content/index pane does not work in IE10.  Anyone else exprienced this and is there a fix?

    Precisely: A lan server or network disk is the same as a local webhelp: you are accessing the files through the file protocol.
    Web server means that you have a webserver (wherever that may be located, even on your own pc) that severs the file through the HTTP protocol.
    The difference between the two is that in the second situation you have a program running that allows you to view the help as you would a regular internet page.
    Greet,
    Willam

  • How to avoid the "Save As" dialog when using "Close Button"

    Hello All,
    I am facing a problem while closing a pdf file.
    I am using the following code to Open a pdf file.
    CAcroApp objAcroApp = new AcroAppClass();
    CAcroAVDoc objAVDoc = new AcroAVDoc();
    objAVDoc.Open(C:\\new.pdf,Sample);
    objAcroApp.Show();
    After opening the document I am **** some changes (adding markup) in the file.
    Then I am closing the file using the Close Button and in YES for the save confirmation dialog.
    Here is the problem.
    After giving YES, I am getting a Save As dialog with "Sample.pdf" in the FileName box.
    I am getting this only in Acrobat 9.0.
    When I tried the same in Acrobat 8.0 I didnt get Save As dialog. It saved with out "Save As" dialog in "C:\\new.pdf".
    I need to give the same behavior in both Acrobat 9.0 and 8.0.
    Please help me out to fix this issue. Thanks in advance.
    Regards,
    Mohd Mustafa SK

    In what you have posted, there is no reason it shouldn't work the same way in Acrobat 9. I would recommend that you submit your complete application to developer support.

  • How to suppress Save As dialog when using the Close button on an editable pdf

    Environment: Windows 7, SDK 9, Adobe Acrobat Pro X, Visual Studio 2010 Professional
    Summary: when a document is opened for editing using automation, edited, then closed using the "Close" button, the confirmation dialog appears, "yes" is selected and then the "Save As" dialog appears.  It should save without the "Save As" dialog in the same way it does were the document opened from Adobe Acrobat directly.  My question is, is there any flag to set which governs whether the "Save As" dialog appears as part of the close document process.  It is behaving as if the document is read-only upon close. (it isn't)
    This is how the document is opened from C++:
    if(SUCCEEDED(hr = ::CoCreateInstance(__uuidof(Adobe9::Acrobat::CAcroAVDoc), 0, CLSCTX_ALL, IID_IUnknown, (void**)&pUnk))){
    hr = OleRun(pUnk);
    if (SUCCEEDED(hr)){
    if (SUCCEEDED(hr = pUnk->QueryInterface(&pAVDoc))){
    hr = pAVDoc->Open((BSTR)CComBSTR(strPath), strDocName, &bRet);
    Even when the plugin is removed from the plug_ins\AcrobatSDK directory, the behaviour is the same.
    Another reproduction is running the BasicIacVC sample, commenting out all lines from gAcroPdDoc->Close(); in InitInstance() and returning TRUE.  If an editable document is opened using the sample, edited then closed using the "X" button, the confirmation dialog is followed by a "Save As" dialog as if it were a read-only document which it is not.
    Any suggestions would be appreciated.
    Regards,
    Evan

    Yes, it does.  (as long as the pdf has been opened via a COM interface)

  • Not able to get the minimize maximized and close button and its running with full screen mode.

    Hi
    My Thunderbird is running with ubuntu OS and while using some shortcut key my thunderbird mailbox switched to full screen mode. now i am not able to resize it's view and also not able to see minimize, maximize and close buttons on top left corner.
    Please help me out.
    Thanks

    I'm also running Ubuntu. Not sure how you got there, but you can try a Control-Q to quit. Then restart it and hope in comes back normal.

Maybe you are looking for