Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 5 Aug 2008 02:09:27 -0700 (PDT),    group: microsoft.public.win32.programmer.ui        back       


How to change windows scrollbars colors   
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.
date: Tue, 5 Aug 2008 02:09:27 -0700 (PDT)   author:   unknown

Re: How to change windows scrollbars colors   
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.
date: Tue, 5 Aug 2008 08:18:02 -0700   author:   Somebody

Re: How to change windows scrollbars colors   
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.
date: Wed, 6 Aug 2008 22:31:09 -0700 (PDT)   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us