Posts Tagged ‘native code’

Redirecting MouseWheel events to another control

Redirecting events from one control to another is quite easy. I recently needed it for an application that uses a number of ComboBoxes to filter data in a DataGridView. It was very confusing to the user when she selected an item in the ComboBox and subsequently tried using the mouse wheel to scroll through the [...]

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Comments (1)

Single instance applications in Windows CE

I programmed a Windows CE application last month that had as a requirement that only one instance could run at the same time. Had it been Windows Mobile, this had been handled by the OS, but on Windows CE you have to take care of this yourself. I was a bit surprised that there is [...]

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Comments (16)

Implementing a scrolling RichTextBox

It is often necessary to make a .NET RichTextBox scroll to the top or the bottom. Unfotunately there is no direct method of doing this in the class itself. One possible solution involves using the ScrollToCaret() function of the control. This method is outlined in my first post about RichTextBox scrolling. It appears that some [...]

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Comments (10)