Disabling the "X" in the Window

I'm using the following command;
id := GetSystemMenu(WindowHandle, 0)
RemoveMenu(id, 6, 1024)
DrawMenuBar(WindowHandle)
to disable the use of the "X" in the top right of the window.
Is there any way to tweak this so the underscore and "X" disappear
completely? I have a seperate authorware program opening when a
user clicks a button, but I would like to show it as a window
without the buttons in the top right.
Any help is greatly appreciated

Get rid of the title bar and menu bar.
HTH;
Amy
"Rodimus_Prime" <[email protected]> wrote in
message
news:fpmjhe$b25$[email protected]..
> I'm using the following command;
> id := GetSystemMenu(WindowHandle, 0)
> RemoveMenu(id, 6, 1024)
> DrawMenuBar(WindowHandle)
>
> to disable the use of the "X" in the top right of the
window. Is there any
> way
> to tweak this so the underscore and "X" disappear
completely? I have a
> seperate
> authorware program opening when a user clicks a button,
but I would like
> to
> show it as a window without the buttons in the top
right.
>
> Any help is greatly appreciated
>

Similar Messages

  • 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.
    >
    >

  • 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

  • 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.

  • How to disable the windows update message "Windows update hasn't been able to check for updates for the last 30 days"

    Hi,
    We work on a domain that uses Symantec Management console to administrate our patch enviroment. We have windows updates disabled. But our Windows 8 machines get this message once a month
    "Windows update hasn't been able to check for updates for the last 30 days"
    Just wondering if anyone knows which GPO to use to disable this setting as I have been unable to find it.
    Thanks

    Hi,
    You can turn off the message by GUI in Control Panel\System and Security\Action Center, in the right pane, click "Change Action Center settings", then untick the "Windows Update" option.
    For GPO, you can disable all balloon notifications:
    User Configuration \ Administrative Templates \ Start Menu and Taskbar\Turn off all balloon notifications
    Or remove Action Center icon itself
    User Configuration\Administrative Templates\Start Menu and Taskbar\Remove the Action Center icon
    And I haven't found a GPO to turn on\off a specific message mentioned in the action center, but the setting for the message is related with registry key under
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Action Center\Checks
    but the value under the key is binary, hard to control, if you have interest, you can export the key from a preference pc, then deploy the GPO via
    User Configuration > Preferences > Windows Settings > Registry
    Yolanda Zhu
    TechNet Community Support

  • 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.

  • How do I remove/disable the Windows 8 Mail App

    How can I remove the Windows 8 Mail App from my computer? I am unable to select another mail provider and I absolutely do not want to get my Passport aka Windows Live ID involved with my mail under any conditions whatsoever.
    I have a vbs script that installed another mail provider in IE9 but it doesn't seem to work with Windows 8/IE 11.   I want this mail application off my machine entirely.
    How do I accomplish that?     
    Athena

    Athena
    You don't need to un-install it but if you still want to simply right click the mail tile in start>uninstall.
    Wanikiya and Dyami--Team Zigzag

  • 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!

  • 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.

  • Can i disable the save windows screen when turning off the computer? It is very anoying.

    Please if anyone can help i want to disable the window that wants to save the windows when closing the computer.

    If you do not want windows to open when rebooting and don't like to have to uncheck the option every time, there is a keyboard shortcut:
    Press Command + Option + Control + Eject key. This will cause an immediate shutdown without the window.

  • Is it possible to disable the minimize, maximize and close on a Frame?

    Is it possible to disable the minimize, maximize and close buttons on a Frame?
    Is it possible to make invisible, minimize, maximize and close buttons of the frame?
    What methods would I use to do so?
    Thank You

    The minimize, maximize and close buttons are defined as the windows decoration. To disable the windows decoration,frame.setUndecorated(true);The setUndecorated() method can only be called while the frame is not displayable.
    Then you can redesign the look and feel of the rootpane and call
    frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);

  • How do I disable the hardware acceleration in Flash player on a Windows XP machine remotely?

    How do I disable the hardware acceleration in Flash player on a Windows XP machine remotely?
    I have a few hundred computers running Adobe Flash Player.
    The operation system is Windows XP.
    They are Compaq 6005 desktop PC’s, with an inbuilt ATI radeon HD 4200 video card.
    We have a persistent issue where viewing a flash video (e.g. something on youtube) causes the video card driver to crash.  You are left with no video signal to the monitor.  Audio continues and the computer still responds to commands. This only happens when watching flash video.
    We have tried:
    Updating flash plugin (numerous versions)
    Updating the video card drivers (we have tried the last three video card driver versions, including the HP drivers and ATI drivers)
    Updating the browsers (this problem happens with IE8/9 and Firefox10/11/12)
    There seems to be two ways to work round this issue.  One is to disable the video acceleration in the ‘troubleshoot’ section in the advanced part of the display settings area in windows.  The other way is to start a flash video, right click, go to ‘settings’ and untick the box marked ‘Enable Hardware Acceleration’.
    Doing either of these things allows the user to view flash videos with no apparent issues.
    Is there a way to disable the hardware acceleration in Flash without visiting the PC?  Perhaps an undocumented option in the mms.cfg file? I understand that you can use an option to skip the video card check, and so force hardware acceleration on, can you do the opposite?
    Thanks in advance
    Daniel.

    Hi.
    I have had over 200 views, and no suggestions as to how this could be fixed.
    I have also posted in the general flash forum, that thread has fewer views.
    If I should put this question in a different forum please let me know which one.
    If what I am asking is not possible is there a mechanism for escalating this issue or requesting a feature for the next version of flash?
    Thanks.

  • W/zoteroinstalledwedo a window,open() followed by a window.close() in tha window. Zotero remains and the window is still open. How do I close the window with zotero present in FF w/o disabling zotero?

    the js function to window.open() is in pageAA on a tab.
    We click the form or link to open the popup to run a video.
    We have a close button on the popup window.
    When that is clicked the window.close() js is executed on that page leaving Zotero present and the popup still open.
    We've tried using close() window.close() name.window.close() and
    all fail the same way.
    Short of disabling Zotero is there a way to close the popup in FF and any other addons with one shot?

    Thank's but still no fix.
    In safe mode everything works.
    Without Zotero - everything works.
    When the popup is loaded with Zotero, the tab shows a constant "Loading" with the circular in process icon.
    The Zotero icon shows to the left of the tab.
    If I right click on Zotero and close it, the close() js works properly
    Is there a way to do a window.open() with:
    A. no tabs -or-
    B. block all add on's -or-
    C. to kill an add on
    before doing the close()?

  • The windows of the Windows bar are already a form of tabs, so I don't need them in Firefox. How can I disable them completely from Firefox 23?

    RE: TABS ARE WINDOWS!
    The Windows bar already functions as a tab bar. Those tabs are called "windows." So, I find Firefox tab windows superfluous. How can I disable them completely from Firefox 23? I don't need what is essentially TWO windows bars covering up the entire width of my widescreen monitor's image! I already have a Windows bar at the bottom of my screen and, if I really wanted to, I could change ITS position to the top of the screen, so that it would LOOK like the Firefox tab windows bar. Firefox TABS are, essentially, a superfluous SECOND WINDOWS BAR.
    Here are my reasons for why I'd rather use Mozilla's Firefox, than Microsoft's Internet Explorer or Google's Chrome. I love and admire Firefox for Mozilla's intent on good security, for Firefox's Personas add-on, and for Firefox's free use of the Ad-Block add-on which, as you know, has the distinct virtue of reducing screen clutter--the last of which is my motive for wanting to get rid of the SUPERFLUOUS Firefox tabs "windows" bar. I am dreadfully sick of companies forcing miscellaneous bars (mostly representing marketing campaigns trying to sell me something) into my browser (and down my throat) every time I download something. (In case you haven't guessed, I am deliberately referring to your Firefox tabs bar as a "Firefox tabs 'windows' bar," because TABS are WINDOWS!)

    Let me clarify even more. The Firefox add-on you mention does not remove "tabs" windows. It only HIDES the "tabs" bar when there is only one "tab" in that window. It DOES NOT end "tabs." It does not turn "tabs" off.
    I know this, because, even with the add-on you recommend, the "tabs" bar often re-appears when I open a link, which--for some unknown reason--Firefox defaults to opening in a second "tab" within the same window, rather than putting it in a new Windows bar window. This, of course, disregards what I want to happen.
    I want to use my Windows bar to control my windows. I do not want my Firefox browser controlling my windows--which it calls "tabs." Can you tell me how to shut off "tabs?"

  • How can I DISABLE the pop up 'Would you like to copy it to Library', preventing this message from bothering for each and every book, again and again, time after time? (Windows 7 64bit US).

    How can I DISABLE the pop up 'Would you like to copy it to Library', preventing this message from bothering for each and every book, again and again , time after time? (Windows 7 64bit US).
    I guess this may be a feature request. Adobe may think this is a good message for every new eBook.
    I sure would like to decide about that myself.
    Thanks in advance if this will be changed.

    singmk wrote:
    Decided to setup the mail for exchange on my N8 so I could see my work emails. Worked like a charm but after a couple of hours decided I didn't like being that contactable so deleted the mailbox.
    Now to the problem, during setup I was forced to enable the phone lock and had to pick a 7 digit alphanumeric code. Fair enough I thought and went ahead. When I removed the mailbox however the lock remained in place with the default auto time of 30 minutes. When I checked in Phone management there is no option to disable this lock so I thought I could at least change the default time to something bigger but when you try, it remains at 30 mins. You also can't disable the auto time as it pops up an error message saying can't unlock phone.
    Does anyone know if I'm missing something obvious here or is this something which can't be disabled once it's switched on? I've done a soft reset back to factory settings with no luck and the only other thing I can think of is re installing the firmware which seems a bit extreme.
    Would like to hope there is some way to have control over this. Can someone help?
    Which firmware your N8 having now? You can check firmware by choosing Call, then type *#0000#.
    My N8 works fine on security setting and able to define Phone auto lock period, by choosing Menu>Settings>Phone>Phone management>Security settings>Phone and SIM card>Phone auto lock period>User defined>Lock after(minutes)
    You will prompt to enter Lock code each time u define auto lock priod or enable/disable auto lock.
    Hope this can help you.
    If you find this post helpful, please show your appreciation by clicking the Kudos star at the left. If it provides you the solution, please click on the GREEN Accept as Solution button at below

  • How can I disable the access to windows 2000(O.S.) from LabView?

    I need to disable the access to windows when an application (exe), created by LabView, is running. When the application is running, the user can not acces to windows (for example, execute another application) until he stops the application.
    I am using LabView 6.1 and windows 2000
    Many Thanks

    Hi Francesc,
    There are a couple of options for this. One of them could be calling Windows OS activex components and making the Desktop invisible through labVIEW and then bringing it back on after the LabVIEW execution is stopped.
    The other option is to modify user settings on the target machine. I have tried this on windows 2000 and it works.
    Run "gpedit.msc" from your start menu. In the Group Policy template choose the user configuration that you wish to make the settings for. Expand User Configuration , expand Administrative Templates , and then expand System. Choose 'Custom user interface'
    In this panel select 'Enabled' and enter the interface file name, in this case C:\Program Files\National Instruments\Labview 6.1.exe. (or your own filepath\App
    lication.exe). Reboot the machine.
    This replaces the default windows shell (explorer.exe) with your LabVIEW executable. When the operator logs on, the only thing on his screen is the Labview application. No desktop, no taskbar, no start button.
    This can also be done through LabVIEW using register-level programming. But it would be a more complex approach.
    Hope this helps.
    Regards,
    Pravin Borade
    Applications Engineer, National Instruments

Maybe you are looking for