Results 1 to 4 of 4

Thread: Subclassing

  1. #1

    Thread Starter
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    Post

    I'm useing the addres of procedure to get mouseeents from the wondows systemtray in a Tray icon ocx I'm making. Is there some way i can tell my activeX to unload when the stop button is pushed in vb so that the subclassing doesn't crash vb or some other way I can get the mouse events from the tray that won't crash vb when stop is pressed. I mean that make the control pretty unusable to anyone but me......

    ------------------
    SomeTimes Coffee Just Isn't Enough.
    Zan Magi

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    593

    Post

    Have a look at this:

    http://www.vb-world.net/tips/tip61.html

    It shows how to put an icon in the try without proper subclassing.


    ------------------
    John Percival
    Editor, VB-World.net
    john@vb-world.net



  3. #3

    Thread Starter
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    Post

    thanks John

  4. #4
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355

    Post

    as for proper subclassing, theres a complicated article at VbAccelerator on just what you asked..
    but as i say, its complicated (well for me)
    www.vbaccelerator.com
    they have a solution there, too, in the form of a DLL that does some dodgy stuff


    ------------------
    cintel rules
    www.cintelsoftware.co.uk

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