I have no this trouble - I use overridden column style. Try to override next events ... may be OnScroll() (save selected row numbers, call base method and restore selection I think). Next trouble is with sorting. Previous algorithm doesn't work .
I experienced a strange problem - I am currently building an application that has a user control in it and for this control I want to trap the pressing of the ARROWS keys. BUT...
The problem is that only the OnKeyUp event occurs for THOSE KEYS - this is not what I
I tried overriding the ProcessKeyMessage method and found out that the control actually is not RECEIVING the WM_KEYDOWN message for the ARROW keys!
How can I display a thin and long popup tooltip whenever the users move the mouse over any cell of a DataGrid? Also the popup tooltip displays the contents of the cell that the mouse is being on top of it.
I was wondering if anyone knows how to play a video with windows media player in C#. i got the player loaded onto my form but i cann't figure out how to tell it what video to play. any ideals ? thanks kevin
You need to check what version you are using becauce the commands changed completely between the two? If you have installed media player 9 it will over write the exiting componet the came with VS. Here is a sample of the older version which I think is the one that you have got!
private AxMediaPlayer.AxMediaPlayer VideoScreen;
VideoScreen = new AxMediaPlayer.AxMediaPlayer();