Results 1 to 3 of 3

Thread: GetThreadPriority

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Posts
    74

    Exclamation GetThreadPriority

    Hello,
    I want to cancel the ALT TAB option when my program runs.
    I also want to cancel the CTRL ALT DEL option when my program runs.

    is there a way to do so? if so how? and is it related to the GetThreadPriority or maybe SetThreadPriority API?

    maybe increasing my program priority??

    can anybody give me an example?
    -------------------------------------
    http://www.ybweb.com

  2. #2
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    I want to cancel the ALT TAB option when my program runs.
    In Windows NT / 2000 / XP this can be done by installing a WH_KEYBOARD_LL hook - but I would caution that it is not a very user friendly thing to do.

    I also want to cancel the CTRL ALT DEL option when my program runs.
    This cannot be done in Windows NT / 2000 / XP by design.

    and is it related to the GetThreadPriority or maybe SetThreadPriority API?
    No - these control how much processor time is allocated to each thread...higher priority threads get more processor time...

    HTH,
    Duncan

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Posts
    74
    I am in Windows 98... so its not possible?

    actualy in my system that I am working on there is no keyboard st sll that is why I want to cancel this options.

    so the OS will not listen in the background for events of ALT+TAB or CTRL+ALT+DEL.
    -------------------------------------
    http://www.ybweb.com

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