Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Horizontal scrollbar trackbar position in treeview?

130 views
Skip to first unread message

Rimvydas Paulavicius

unread,
Oct 10, 2004, 1:17:45 PM10/10/04
to
Hi,

how to get a horizontal scrollbar trackbar's position in treeview
control (in CustomDraw event)?

Rimvydas

Damien Honeyford

unread,
Oct 10, 2004, 3:17:08 PM10/10/04
to
Hi,

"Rimvydas Paulavicius" <Pau...@post.5ci.lt> wrote in message
news:41696EB9...@post.5ci.lt...


> Hi,
>
> how to get a horizontal scrollbar trackbar's position in treeview
> control (in CustomDraw event)?

Take a look at the Windows API call GetScrollInfo; MSDN Tiny Link:
http://tinyurl.com/4bezj


Damien

Michael Winter

unread,
Oct 10, 2004, 3:46:01 PM10/10/04
to
Rimvydas Paulavicius wrote:

> how to get a horizontal scrollbar trackbar's position in treeview
> control (in CustomDraw event)?

Use the GetScrollPos or GetScrollInfo function with nBar set to SB_HORZ.

-Michael

Rimvydas Paulavicius

unread,
Oct 11, 2004, 1:19:00 AM10/11/04
to
Yes, thank You.
Rimvydas
0 new messages