Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trapping Events Firing

Status
Not open for further replies.

gharabed

Programmer
Sep 7, 2001
251
US
I have a problem in an application I am writing where one of the cells in a datagrid view is clearing when I push one of the buttons on my form. I can't figure out where the cell value is being cleared/set. I just put a handler for the "Validating" event for the DGV to see if the cell is being cleared before or after that particular event fires and I can see it is clearing before that. I'd like to be able to trap all events and just walk through them to see where the cell is being cleared. Alternatively I'd like to at least be able to see what events are being fired. Is there any way to do this?

There is apparently a tool called UISpy.exe but it didn't come with the VS2008 upgrade and I can't seem to find it. Any help on this problem is appreciated.

Thanks,
Greg
 
I believe that the Spy++ tool bundled with vs2008 that will let you see the events (messages) - i've never used it 'in anger' though
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top