Archive for the '.NET' Category

While implementing drag and drop operation, it might be necessary to change the drag cursor. There could be several reasons for doing so. For example, you might want to have different cursors for different categories of nodes dragged from a tree. Similarly, you might want different cursors in the different regions of the same target [...]


Recently, at my work, I had to trap few system commands in C#. I had to disable the movement of Form and few other basic operations such as minimize, maximize, close while the buttons for them still kept visible.
Doing this is very simple. All you need to do is ‘override’ the ‘WndProc’ method inside the [...]