Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SmartDialog vs. Dialog
#4
Works well here.

Maybe this line in DE_Events returns -1?

Code:
Copy      Help
m2=findrx(s "^[ ;]messages2[](.*[])*sel wParam[][\t,]" 0 8 l2)

It could return -1 for example if

Code:
Copy      Help
sel wParam

does not end with carriage return and newline characters (for example, comments are added, or there is only newline without carriage return).

Or there is an empty line without tab:
Code:
Copy      Help
;messages2
sel wParam

,case EN_SETFOCUS<<16|5
,,out "huhu"


Other possible reason - the code is not in a function.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)