Waht are Virtual Events


Results 1 to 2 of 2

Thread: Waht are Virtual Events

  1. #1
    Join Date
    Jan 2003
    Location
    Kitchener, Canada
    Posts
    710

    What are Virtual Events

    Whats up?

    In VB, in a class module there is the RAISE EVENT syntax. When I port one of those functions to C++ does it become a virtual function??
    Last edited by Cerf; 08-24-2004 at 08:50 PM.
    :wq

  2. #2
    Join Date
    Apr 2001
    Location
    SF Bay Area, CA
    Posts
    14,936
    It can, if you only want to give derived classes access to the function.

    Otherwise, see my previous reply to this exact same question (asked by you, I believe), and use a function pointer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •