I want to change the windows standerd scrollbars colors, I want different color scrollbars in to my applications. I have searched and tried with many things. But nothing is working. If I get the handle of the only scrollbar control, I can get it wok out. But I am unable to get the handle of scrollbars, instead of that I am getting the handle of it parent like listview or treeview handle. So how should i change teh scrollbar colors, Is there any method or procedure to do this. If any found please let me know.
The horizontal and vertical scroll bars of most (99%+) windows are NOT scroll bar controls and don't have their own window handles. They are painted as part of WM_NCPAINT. You CAN custom draw scroll bars, but it is quite difficult and requires some API hooking. wrote in message news:eac21ee7-5e67-428f-9fe8-770ac0fee284@1g2000pre.googlegroups.com... >I want to change the windows standerd scrollbars colors, I want > different color scrollbars in to my applications. I have searched and > tried with many things. But nothing is working. If I get the handle of > the only scrollbar control, I can get it wok out. But I am unable to > get the handle of scrollbars, instead of that I am getting the handle > of it parent like listview or treeview handle. So how should i change > teh scrollbar colors, Is there any method or procedure to do this. If > any found please let me know.
On Aug 5, 8:18 pm, "Somebody" wrote: > The horizontal and vertical scroll bars of most (99%) windows are NOT > scroll bar controls and don't have their own window handles. They are > painted as part of WM_NCPAINT. > > You CAN custom draw scroll bars, but it is quite difficult and requires some > API hooking. > > wrote in message > > news:eac21ee7-5e67-428f-9fe8-770ac0fee284@1g2000pre.googlegroups.com... > > > > >I want to change the windows standerd scrollbars colors, I want > > different color scrollbars in to my applications. I have searched and > > tried with many things. But nothing is working. If I get the handle of > > the only scrollbar control, I can get it wok out. But I am unable to > > get the handle of scrollbars, instead of that I am getting the handle > > of it parent like listview or treeview handle. So how should i change > > teh scrollbar colors, Is there any method or procedure to do this. If > > any found please let me know.- Hide quoted text - > > - Show quoted text - thanx for u r responce. Through hooking how can i do it. I must have do it and I have less time to this exercise. Please suggest me.