Edit: Well, Sleep(10) DID work. I guess it required stopping and restarting the program possibly adding a sleep in debug mode doesn't actually make it work?
I have a CustomListView and the list contains a BBCodeView that has url links. I am doing things with both the url link and CLV_ItemClick .
If the BBCodeView_LinkClicked is clicked I want to ignore the CLV_ItemClick event.
The problem is the CLV click event happens before the BBCodeView_LinkClicked event so I can't set a flag to stop CLV_ItemClick.
I tried Sleep in the CLV_ItemClick event hoping it would allow BBCodeView_LinkClicked to fire but no joy.
Any ideas?
I have a CustomListView and the list contains a BBCodeView that has url links. I am doing things with both the url link and CLV_ItemClick .
If the BBCodeView_LinkClicked is clicked I want to ignore the CLV_ItemClick event.
The problem is the CLV click event happens before the BBCodeView_LinkClicked event so I can't set a flag to stop CLV_ItemClick.
I tried Sleep in the CLV_ItemClick event hoping it would allow BBCodeView_LinkClicked to fire but no joy.
Any ideas?
Last edited: