Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Location
    Quezon City, Philippines
    Posts
    46

    disable alt f4 heheh

    hi guys i can now disable alt f4 with this command put it on global event it is sure to work

    function QueryAllowProjectClose()
    if System.IsKeyDown(115) then
    return false;
    else
    result= Dialog.Message("Application Exit", "Are you sure that you want to quit?", MB_YESNO, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
    --if they choose yes
    if result == IDYES then
    --allow the app to close
    return true;
    else
    --cancel close
    return false;
    end
    end
    end

  2. #2
    Join Date
    May 2005
    Posts
    1,115
    Thank you for sharing, but I think that this is already covered in the AutoPlay Media Studio Help 6.0.
    Never know what life is gonna throw at you.
    (Based on a true story.)

  3. #3
    Join Date
    Jul 2007
    Location
    Quezon City, Philippines
    Posts
    46

    i changed sumtin

    i added some code in their built in command when closing the application. it only acts when sumone closes the app. some people wanted to disable the alt f4 by using diff .dll or by other commands. the system.iskeydown answers it. try to look at my second line of command
    Last edited by macko; 08-06-2007 at 06:03 PM.

  4. #4
    Join Date
    May 2005
    Posts
    1,115
    Yes, indeed. Nice one!
    Never know what life is gonna throw at you.
    (Based on a true story.)

Similar Threads

  1. Disable Alt F4 key
    By portand in forum AutoPlay Media Studio 6.0
    Replies: 3
    Last Post: 08-05-2007, 06:24 PM
  2. Disable CurrentUser radio button on UserProfileDlg screen
    By cdundee in forum MSI Factory 2.0 Discussion
    Replies: 2
    Last Post: 07-18-2007, 03:50 PM
  3. Help : Disable Alt - F4, And Tab keys
    By nals in forum AutoPlay Media Studio 6.0
    Replies: 10
    Last Post: 04-10-2007, 05:57 PM
  4. Help Needed: Disable Alt Tab key
    By nals in forum AutoPlay Media Studio 6.0
    Replies: 7
    Last Post: 04-02-2007, 08:14 PM
  5. Disable "ALT + F4" to exit
    By lepinski in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 08-12-2003, 01:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts