private const int LB_ADDSTRING = 0x180;
private const int LB_INSERTSTRING = 0x181;
private const int LB_DELETESTRING = 0x182;
private const int LB_RESETCONTENT = 0x184;
protected override void WndProc(ref Message m)
{
switch (m.Msg)
{
case LB_ADDSTRING:
MessageBox.Show("Detected Listbox Event");
break;
}
base.WndProc(ref m);
}
I've tried all of these as a thought experiment to see if they work...they don't? I'm sure I'm doing something stupid any idea on what the problem is? I have a switch for each one of these they aren't working

New Topic/Question
Reply



MultiQuote






|