hi to everyone,

i need your help, i am checking if the handle i retrieved is a scrollbar such as VerticalScrollbar or HorizontalScrollbar, i did the enumeration of the childwindow:

BOOL EnumChildWindows(HWND hWndParent,
WNDENUMPROC lpEnumFunc,
LPARAM lParam);

and in callback function it is:

BOOL CALLBACK EnumChildProc(HWND hwnd,
LPARAM lParam);

in every enumeration for this childwindow this first param HWND hWnd receives new hWnd this hWnd now i need to know is scrollbar itself? what is the function i need to use to check each hWnd if it is Hscrollbar of Vscrollbar?

thank you!