CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2001
    Posts
    60

    Translation of WM_KEYDOWN and Timer placement

    Hi all in my application i have two hooks and these are Journal Recrod and GetMessage Hook, due to some reasons now i want to minimize the code and logic that i have wrriten in GetMessage Hook.

    The first query in this regard is that how can i translate a WM_KEYDOWN message to WM_CHAR because i am receving a WM_CHAR inside GetMessage and this would not be availble to me in JOURNAL RECORD.

    Another question is that in the WM_LBUTTONDOWN of GetMessage i am setting up a timer and then appropriate code inase of WM_TIMER is also in GetMessage, is it possible that i setup the Timer in JOURNAL RECORD and then capture the WM_TIMER message in WNDPROC hook because i might be using WNDPROC instead of GetMessage

    hope that i have made clear my point
    thanx in advance
    regards

    Basim

  2. #2
    Join Date
    Aug 2003
    Location
    Canada
    Posts
    164

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

Featured