every one. I just want to make the Close button disabled on a button click event using C#.net. I am trying for this but not correctly sure it\'s correct.
p
private const int dis_close_button = 0x200; protected override CreateParams CreateParams { get { CreateParams ObjCP = base.CreateParams; ObjCP.ClassStyle = ObjCP.ClassStyle | dis_close_button; return ObjCP; } }
Try, this...