Thread: Enumerating timers and hotkeys

  1. #1
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318

    Enumerating timers and hotkeys

    Is there a way to enumerate timers and hotkeys?

    Win32, C++, Dev-C++
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    As far as I know, there is no documented way to enumerate timers or hotkeys (although you could call RegisterHotKey for every combination and find out which ones fail, not a good idea).

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    maxorator, you put "Win32, C++, Dev-C++" in so many of your posts, why not just put it in your sig?

    >> not a good idea
    How come?

  4. #4
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by Queatrix
    maxorator, you put "Win32, C++, Dev-C++" in so many of your posts, why not just put it in your sig?

    >> not a good idea
    How come?
    Good idea .

    It is not good idea, because it's a hackish way to do it (but as far as I know the only way) and I still wouldn't get the timer's ID.
    Hmm... I found some "Kernel timer" functions. I wonder what do they do differently... I am too lazy to read it. http://msdn2.microsoft.com/en-us/library/ms801934.aspx
    There might be one way to enumerate timers and hotkeys... surfing through the OS memory.
    Last edited by maxorator; 01-01-2007 at 11:58 AM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

Popular pages Recent additions subscribe to a feed