Hi,
I have a class derived from CStatic.
Also two ScrollBar,
CScrollBar m_HScroll;
CScrollBar m_VScroll;

created equals

m_HScroll.Create(SBS_HORZ | SBS_BOTTOMALIGN |WS_CHILD , rect, father, 1100);
m_HScroll.EnableScrollBarCtrl(SB_HORZ );

m_VScroll.Create(SBS_VERT | SBS_RIGHTALIGN |WS_CHILD, rect, father, 1200);
m_VScroll.EnableScrollBarCtrl(SB_VERT );

int the message map
BEGIN_MESSAGE_MAP(CDrawBitmap, CStatic)
ON_WM_VSCROLL()
ON_WM_HSCROLL()

END_MESSAGE_MAP()

...the problem is that the window doesn't receive the message relative to the vscroll, only relative to the hscroll.
I don't understand what is wrong with the vertical scrollbar...

Thank you a lot