Results 1 to 40 of 98

Thread: Check if Application is Running Without Timer

Threaded View

  1. #30
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Check if Application is Running Without Timer

    Here is the component.

    This DLL was first featured in a VBPJ article by Matt Curland about subclassing with VB5. Its main purpose is to allow breaking into and stepping through code that subclasses windows, something not directly supported by VB.

    To enable it you would change the compiler directive int cSubClass module to
    VB Code:
    1. #Const DEBUGWINDOWPROC = -1
    However, set it back to zero before compiling.

    For now though, you can even disable the subclassing until we fix the dll problem. Just comment out this code in the form module cmdHook_Click event
    VB Code:
    1. 'subclass this form to receive callback messages
    2.     If Not SubClass.Enable(Me.hwnd) Then
    3.         MsgBox "Subclassing Failed"
    4.         Exit Sub
    5.     End If
    Attached Files Attached Files

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