This function is likely to be more than one Label control sharing function,, h declarations in a header file, CPP, and it is implemented in the Then there is a place to have XXX - & gt; The OnClick=MyLabClick; Such code manually set the event handler,