Results 1 to 2 of 2

Thread: question in hotkey ??

  1. #1

    Thread Starter
    Hyperactive Member xray's Avatar
    Join Date
    Jun 2003
    Location
    EgYpT
    Posts
    312

    question in hotkey ??

    pease be with you

    hi

    there is a big problem !!!

    i get a api code called " RegisterHotKey " , in the consts there is :

    Code:
    Private Const MOD_ALT = &H1
    Private Const MOD_CONTROL = &H2
    Private Const MOD_SHIFT = &H4
    me question is : ??

    i want to know what this means ( " &H1 " " &H2 " " &H4 " ) and it's name ??

    if this characters mean a thing in a " keyboard " plz write to

    all the keyboard keys in this case

    thanks
    In the name of allah , the beneficent , the merciful

    Say (O Muhammad ): We believe in allah and that which is revealed unto us and that which was revealed unto abraham and ishmael and isaac and jacob and the tribes , and that which was vouchsafed unto moses and jesus and the prophets from their lord . we make no distinction between any of them , and unto him we have surrendered


    ---- Great Sites For You -------------------

    If you want to know some small things about islam ?

  2. #2
    Fanatic Member
    Join Date
    Sep 2000
    Location
    Over There
    Posts
    522
    those are numbers in hex.

    their values are 1 2 and 4
    the following does the same thing.

    generally in api's hex values are used especially for large numbers
    and using numbers that represent the power of 2 allows OR and AND statements to work nicely

    Private Const MOD_ALT = 1
    Private Const MOD_CONTROL = 2
    Private Const MOD_SHIFT = 4
    It Never Fails. Everytime I try to make a program idiot proof, the world makes a better idiot.

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