|
-
April 12th, 2004, 12:07 PM
#1
stupid question again, help.
Hi
if I have a Slider control on my CFormview then it is always on Focus. My question is:
1. is that posible to set it un-focus if I click the mouse somewhere else? so
2. If I overide the functions: OnkeyDown, onKeyUP from CSliderCtrl , how to call the OnKeyDown() , OnKeyUp() the class that handle the view?
class CACPTESTView : public CFormView
{
public:
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
}
class CSliderCtrl2 : public CSliderCtrl
{
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
}
CSliderCtrl2::OnKeyDown(.....)
{
how to call the CACPTESTView::OnKeyDonw(...);
}
Thanks in millions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|