Hi, is there an easy way (a function) to test if a CString contains only numbers? Thanks
S
speedy4711
@speedy4711
Posts
-
CString -
ScrollbarYes, that works fine
-
ScrollbarHi, I have some problems using a scrollbar control (MFC), I have derived a class form CScrollbar and used it in my Dialog class.
m_scrollHor.Create(SBS_HORZ | WS_CHILD, CRect(100,400,300,430),this, 4712); m_scrollHor.ShowWindow(SW_SHOW);
the problem is, that the handler for HScroll Event is never called... i just added the function and set a breakpoint there but nothing happens...void CScrollBarGrid::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) { // TODO: Add your message handler code here and/or call default CScrollBar::OnHScroll(nSBCode, nPos, pScrollBar); }
i have also written a function to handle a mouse click and this works fine. Any hints for me? Thanks!