Windows Develop Bookmark and Share   
 index > Windows Forms General > splitter cursor
 

splitter cursor

i want to know how can i change the spilitter cursor? i mean the splitter line not the whole control..
Jassim Rahma  Thursday, July 10, 2008 6:04 PM

Hi Jassim,

As far as I can understand, you basically want to change the cursor of Splitter when the mouse is on the Splitter’s border line, right? Firstly, I presume that “the whole control�means Splitter control, am I right?

If so, I believe that cursor cannot be changed between Splitter’s border line and itsinternal area. Cursor will always display as the same wherever in Splitter control. You know, Splitter is used for separating different controls and enables them to be resized while dragging, and that’s all. So, usually we can simply reduce its width to maketheSplittersimilar to a line if you like. You can set Splitter’s size with its width to 1 or 2 pixels, which makes it look like a line.

For your information, please refer to the MSDN document: Splitter Class, and pay attention to the Remark section and its sample.

However, if you want to use Splitter to do something else, please do not hesitate to tell me.

Thanks.

Best wishes,

Jun Wang

Jun Wang Tim  Wednesday, July 16, 2008 5:29 AM
Hi Jassim Rahma
May be

mySplitter.Cursor = new Cursor("MyWait.cur");
Un1imit  Friday, July 11, 2008 7:40 AM

Hi Jassim,

As far as I can understand, you basically want to change the cursor of Splitter when the mouse is on the Splitter’s border line, right? Firstly, I presume that “the whole control�means Splitter control, am I right?

If so, I believe that cursor cannot be changed between Splitter’s border line and itsinternal area. Cursor will always display as the same wherever in Splitter control. You know, Splitter is used for separating different controls and enables them to be resized while dragging, and that’s all. So, usually we can simply reduce its width to maketheSplittersimilar to a line if you like. You can set Splitter’s size with its width to 1 or 2 pixels, which makes it look like a line.

For your information, please refer to the MSDN document: Splitter Class, and pay attention to the Remark section and its sample.

However, if you want to use Splitter to do something else, please do not hesitate to tell me.

Thanks.

Best wishes,

Jun Wang

Jun Wang Tim  Wednesday, July 16, 2008 5:29 AM

You can use google to search for other answers

Custom Search

More Threads

• Where to distribute ExComboBox
• TabControl: Cancel Validating causes buttons on the tab page not responding to click event
• Resizing controls
• Down arrow changes
• code translate
• Calling javascripts from C#
• flex grid problem about selection moving to the end of the list
• Event handler for ComboBox
• Creating window without header
• Help about ActiveX