Page 1 of 1

Posted: Thu Feb 20, 2003 7:31 am
by BackupUser
Restored from previous forum. Originally posted by Eddy.

Add this in callback wincallback fuunction

Code: Select all

If *MSGFilter\msg = #WM_LBUTTONDOWN        
          Virtualkey = *MSGFilter\wParam         
                    
          If Virtualkey  = #MK_LBUTTON
            SyntaxHighlighting()
            UpdateProcedureList()           
          EndIf
Otherwise hightlighting does not work when you move your selection with mouse.

Armageddon command : Format All +S +Pain \now

Posted: Thu Feb 20, 2003 8:53 am
by BackupUser
Restored from previous forum. Originally posted by fred.

Thanks !

Fred - AlphaSND

Posted: Thu Feb 20, 2003 9:25 am
by BackupUser
Restored from previous forum. Originally posted by PB.

> If Virtualkey = #MK_LBUTTON

Should this be #VK_LBUTTON instead of #MK_LBUTTON?

Posted: Thu Feb 20, 2003 9:39 am
by BackupUser
Restored from previous forum. Originally posted by freak.

It doenn't matter, they have both the same value.

Posted: Thu Feb 20, 2003 9:45 am
by BackupUser
Restored from previous forum. Originally posted by Eddy.

ARGHHH !!!
I've strange bug with syntaxhighlighting .... (text is scrolling when I click)
Perhaps because it change the selection....

Tell me if you have the same bug
I don't know how to debug


Armageddon command : Format All +S +Pain \now