Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hyperlinks in ChatBox (no Hyperlink.ocx)
#10
I made a few changes and got it to run in the ide fine.

First remove the following:

Code:
Public Function IsDebug() As Boolean

    On Error GoTo ErrorHandler
    Debug.Print 1 / 0
    IsDebug = False

Exit Function

ErrorHandler:
    IsDebug = True

End Function

On the form_load in frmmirage you just need:
Code:
EnableURLDetect txtChat.hWnd, Me.hWnd

In modGameLogic - GameDestory add before the End
Code:
DisableURLDetect

This worked for me, dunno if it will work for anyone else.

*Edit*
If you use the Stop button in the IDE it will probably still crash out. Make sure to quit from the game to stop debugging.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)