Disabling the Window closing X button

How would I remove it completely, as in a minor version of setUndecorated(true) but only for the X button I can currently make the button do nothing, but how would i remove it.

I have looked into that myself, and the only thing I could find was somehow implementing some C++ or a language that could really specify stuff in Windows to do it. If you get any answers, I'd also be very interested. There is a way of truly getting rid of it, but this method would totally remove the window's frame. It also gets rid of the ability to move the window around by the click and drag method. This could be done by:
frame.setUndecorated(true);
Again, if anyone knows how to do this some other way or by implementing another language, I'd be glad to also know. Thanks!

Similar Messages

  • Disabling the window close(x) button

    Is there any way to ensure that the window does not get unloaded when the close button (x) is clicked or can we simply disable the close button?
    regards
    Puneet
    Message was edited by:
    punsat

    As far as I know there is no way to differentiate between window closing events depending on their source.

  • Disabling the windows xp start button,and disable ALT+TAB

    hi all, i am writing an internet cafe management system, and its required that clients do not access the start button, although it will be visible but will not respond to mouse clicks or keybord events.
    And also how do i disable ALT+TAB when my program is running.
    thanks.

    Event if using vb.net it won't be happen (i think). Why do you want the client did not access the start menu? if you want the client canot access the control panel, why dont just you hide the control panel menu from start menu? (i dont know how to do that, but maybe a little googling will help). Because yesterday, i go on internet cafe and can only access the Program and Shutdown menu.

  • I am looking for a way to disable the windows ct

    rl-alt-del function in a LabVIEW 6.0 VI. I also need to disable the bottom task bar including the Start key in Windows NT 4.0. My goal is to keep the VI exclusively on the screen and disable the users from switching to other programs or shut off the PC.

    rl-alt-del function in a LabVIEW 6.0 VI. I also need to disable the bottom task bar including the Start key in Windows NT 4.0. My goal is to keep the VI exclusively on the screen and disable the users from switching to other programs or shut off the PC.Public libraries use applications like WinSelect to lock down access to machines.
    http://www.winselect.com/
    But control-alt-delete in NT4.0 is a kernel level security feature that can't be
    defeated unless you hide the keyboard. By using registry settings you can
    control what is presented to the user after he hits control-alt-delete and keep
    him/her from shutting down, but you will also have to lock up the computer to keep
    your users from hitting the reset button and hide the mouse.
    If you want to boot up an NT environment without a keyboard and mouse
    you will need to go to NT Embedded. NTE allows you to build a custom
    OS that does not require keyboard or mouse to boot. You can also install
    just the components you need, ie; no browser, menus, control panel, etc.
    Regards,
    Alan
    "Dan Huynh" wrote in message news:[email protected]..
    > I am looking for a way to disable the windows ctrl-alt-del function in
    > a LabVIEW 6.0 VI. I also need to disable the bottom task bar
    > including the Start key in Windows NT 4.0. My goal is to keep the VI
    > exclusively on the screen and disable the users from switching to
    > other programs or shut off the PC.
    >
    >

  • Disabling the Fully loaded transport button in STMS

    Hello,
    I intend to disable the fully loaded transport button which will be seen in STMS in order to avoid the furture complications.
    Can one suggest me the parameter name to disable this button.
    Points awarded if it solves.
    Thanks.
    Regards,
    Dheeraj

    Dear Dheeraj ,
    TCODE STMS -> Select -> Systems
    In the SAP System, click Configuration -> Change. 
    The screen Change TMS Configuration: System <System name> appears. 
    Choose the tab Transport tool. 
    The global parameters are identical for all SAP Systems in the domain.
    To change a global parameter to a local parameter, you must delete the global parameter and enter the new local parameter.
    The operating system is only displayed if values exist for this field.
    Finally to remove the import all request (big truck) button from STMS
    click the Insert Line (button) 
    Tick Global 
    Fill in Parameter = NO_IMPORT_ALL,   Value = 1.
    Regards ,
    Santosh Karadkar

  • Where is the windows 10 reserve button

    I cant seem to find the windows 10 reserve button on my acer aspire switch 10 even though i have all the windows updates, even the optional ones Please Help Me!!

     have the same problem.  the KB updates on mine are not installed.  when i triied to install them manually, they say they are "not applicable for this machine".. i contacted Acer support several days ago and they basically told me they were going to push the upgrade out when it got close to the 29th.  It's close to the 29th. When I bought my unit from Amazon, it avertised free upgrade to Win10.  I hope we get the free upgrade

  • How to disable the maximize and minimize button of JDialog

    How to disable the maximize and minimize button of JDialog. I have an application which has JDialog box, but in that i should not have maximize and minimize button.If any one come across this problem and got a solution please helpout me.

    Btw, isn't it a little strange to ask thisquestion...
    Actually, I thought it was meant to be sardonic...
    Dialogs don't have those buttons, so the question
    n should be to the OP how did he/she get them in the
    first place? Cuz they aren't using JDialog to do it,
    unless it's something to do with a specific look &
    feel.I somehow missed that, good point :-)

  • Disabling the one-click call button in the Skype m...

    I want to know how to disable the little "Call Phone" or "Video Call" button that pops up when you hover over a contact's status in the Skype main window. Too many times I have accidentally clicked in this spot to activate the Skype window, only to immediately (and inadvertently) call whichever contact I happened to be hovering over. This should be an option, or at the very least require a double click.
    My personal preference is to double click the contact to open the Skype chat window, and then click "Call" from there. Which is obviously an option, provided I don't accidentally click in the minefield that is the Status column in the contacts list.

    Hover and single click call is horrible UI design. Which explains why it was adopted by the Skype developers.

  • How can we close the window using a button in applet?

    I have a close button in my applet which should close the browser from where the application is launched. Can somebody post a sample code for doing the same?

    I'm afraid I don't have any sample code, but I can describe a possible solution.
    1. Retrieve the JSObject via Application.[url http://docs.oracle.com/javafx/2/api/javafx/application/Application.html#getHostServices%28%29]getHostServices().[url http://docs.oracle.com/javafx/2/api/javafx/application/HostServices.html#getWebContext%28%29]getWebContext()
    2. Use the JSObject to manipulate the JavaScript into closing the Window.

  • How do I disable the "New Tab opened" button that appears for 3secs when I open a new tab?

    Dear Helpful Open Source people.
    I would like to disable the "New Tab opened" that appears for 3secs when I open a new tab?
    I usually open tabs from a search engine's results page expecting the links to be of varying quality. This means that it is efficient to open several links from that page and review and close them sequentially later. A reality of the output of search engines is that your 1st link is sedom the one you want.
    This button clutters an already small phone screen. I've hardly the space to click outside it and move on often clicking it by accident. Waiting prevents me scrolling to click the next link for 3 seconds or worse when I scroll prematurely I accidentally click it and jump to that Tab prematurely. I don't need to be told what I just did. I know... There is a perfectly functional tabs button in Firefox Android that let's me jump to my new tab in less than second with 2 presses when I wish to do so.
    I appreciate that it's "only" 3 seconds and a 1st world problem, but browsers and OS designers aspire to fast customisable function. Maybe there's a way to get rid of this button?
    The button is shown in section 3 of "Open a Link in a New Tab" in this article https://support.mozilla.org/en-US/kb/using-tabs-firefox-android
    PS. Mozilla - great work with the Sync function keep developing!!

    For some reason, Android calls that little notification bar a "toast" so that's the new tab toast. It was added in Firefox 12.
    I can't see any preference to suppress it, so I think that would require filing a new bug (request for enhancement). If you feel strongly, I think you are the best person to file it.
    * https://bugzilla.mozilla.org/
    * https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines (might not be very applicable to feature requests...)

  • To disable the Application tool bar button in ALV report

    Hi Everyone,
    Iam using REUSE_ALV_GRID_DISPLAY to display ALV report.
    Now my requirement is to disable(I mean grey out) a application tool bar button.
    Thanks in advance
    Moderator message: please search for available information and try yourself before asking.
    locked by: Thomas Zloch on Sep 23, 2010 11:38 AM

    We can disable the buttons on the application toolbar as below.
    *To Exclude a few buttons from the Application tool bar
    data: it_excluding type slis_t_extab.
    data: wa_excluding type slis_extab.
    wa_excluding-fcode = '&OUP'.
    append wa_excluding to it_excluding.
    wa_excluding-fcode = '&ILT'.
    append wa_excluding to it_excluding.
    wa_excluding-fcode = '&ODN'.
    append wa_excluding to it_excluding.
    and in the FM.....
    call function 'REUSE_ALV_GRID_DISPLAY'
          exporting
            i_callback_program      = sy-repid
            i_callback_pf_status_set = 'ZPICK'
            is_layout               = itlayout
            i_callback_user_command =  'LIST1'
            i_grid_title            = <fs>
    *       i_callback_top_of_page  = ' '
            it_fieldcat             = itfieldcat[]
            it_excluding            = it_excluding
    But,no idea on how to disable the  whole application tool bar itself ?
    K.Kiran.

  • How to disable the inputfield using radio button dynamically in module pool

    How to disable the inputfield on the screen using radio button dynamically in module pool.
    Please suggest .
            Thanks.
    Edited by: Lavanya YH1504 on Jul 30, 2010 1:20 PM

    I got it thank you.
    LOOP AT SCREEN.
        if  screen-GROUP1 = 'LA1'.
           If RADIO1 = 'X'.
            SCREEN-INPUT = '0'.
            MODIFY SCREEN.
         ELSEIF RADIO2 = 'X'.
           screen-input = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    Edited by: Lavanya YH1504 on Jul 30, 2010 1:51 PM

  • Disable the windows key?

    Task manager can easily be disabled by changing a registry value.  I also need to lock out the Windows keys.  Since NI claims that LabVIEW is Part 11 compliant, I would have assumed that this function would be standard but I digress.
    I have found the registry value but for some reason, the value does not get written into the registry correctly:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contr​ol\Keyboard Layout]
    "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00​,5B,E0,00,00,5C,E0,00,00,00,00
    I have also tried to write the binary value (0000 0000 0000 0000 0300 0000 0000 5BE0 0000 5CE0 0000 0000) as well with no luck.
    Any ideas??
    Thanks all!
    Message Edited by ScooterInMN on 12-17-2008 10:20 AM
    Solved!
    Go to Solution.

    Thanks to you I have no windows key (until I reboot ). Change the setting for the string const. Then you can write pure hex values. Go to the msdn web site and cut and paste the values .Worked for me. Then I came to work today I had no windows key
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.PNG ‏43 KB

  • I have activated the code but when the window closed. now I can not re- enter the code to download . how do I download it now?

    Hi, can you help me? I'm student at Deltion College in the Netherlands in Zwolle. This morning I tried to activate my instalation code. I activate my code but I was shocked by the fact that I had to provide my bank details and have closed the window. Now I try to re- activate my code glands adobe cloud ( illustrator, photoshop) to install on my laptop but it will not work because the code has already been used once .

    Contact support by web chat.
    Mylenium

  • How can I disable the window-resize animations?

    For some reason Skype insists on adding some slow animations when resizing the Window, when resizing Skype manually it already feels very slugish but when using tools like Spectacle to easily tile your Window it just looks very silly.
    After resizing Skype to take the right half of the screen (from maximized) it takes about a second for it to stop reflowing the text in the Window because it appears to be doing some slow reflow/resizing animation thing. Since it sucks up huge amounts of CPU and slows everything down I'm just wondering how I can disable this weird behaviour.

    OK I can now get the dialog window to pop up with a single click in a document with my mouse or intuos tablet.   I had never seen that popup. Under normal conditions with the mouse I use and my old Intuos 2 now replaced with an Intuos 5 with default sensitivity setting I never saw that popup.  Now that I know it exists and how to get it I can pop it up.  Try changing your Wacom feel perhaps your getting extra single clicks.

Maybe you are looking for