Results 1 to 2 of 2

Thread: Start Menu launch from kbd Enable/disable

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Location
    Bombay,India
    Posts
    5

    Post

    Hi,

    I use the following function which enable/disable the following key combinations
    <Ctrl-Alt-Del>
    <Ctrl-esc>
    <Alt-s>
    <Alt-Tab>


    Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long

    Sub DisableCtrlAltDelete(bDisabled As Boolean)
    Dim x As Long

    x = SystemParametersInfo(97, bDisabled, CStr(1), 0)
    End Sub

    But what I want is as follows.

    1) To make <Alt-Tab> to be enabled &
    <Ctrl-Alt-Del>,<Ctrl-esc>,<Alt-s> disabled

    2) Assign hotkeys to activate different
    applications even if <Ctrl-Alt-Del>,<Ctrl-esc>,
    <Alt-s>,<Alt-Tab> are disabled


    Kindly let me know the solution.

    Thanking you
    regards

    Vipul Shah

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Post

    SetWindowsHookEx with WH_KEYBOARD? (But then you can't affect Ctrl+Alt+Del)

    ------------------
    Yonatan
    Teenage Programmer
    E-Mail: [email protected]
    ICQ: 19552879



Posting Permissions

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



Click Here to Expand Forum to Full Width