View Poll Results: how to capture windows events?

Voters
2. You may not vote on this poll
  • ik

    1 50.00%
  • jj

    1 50.00%
Results 1 to 3 of 3

Thread: event programming

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2002
    Location
    tamilnadu
    Posts
    1

    Unhappy event programming

    how to capture windows events?
    mfc class name used for event listening?
    how to overide and overload class methods
    very urgently needed
    please help

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    What windows events do you want to capture?

    What does ik and jj stand for?

  3. #3
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    To capture windows messages that have not already been converted to visual basic intrinsic events (such as Form_Move) you need to subclass the form, intercept the Window messages, translate the parameters you are passed to a more meaningful style, raise the event and then decide whether or not you want to pass on the message to the default window handler.

    This is how the ApiWindow class events work.

    Hope this helps,
    Duncan
    Last edited by MerrionComputin; Mar 25th, 2002 at 05:40 AM.
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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