DTPicker: how to open up an control expanded (by default)?

Posted by Olli on Stack Overflow See other posts from Stack Overflow or by Olli
Published on 2010-06-09T13:27:11Z Indexed on 2010/06/16 7:42 UTC
Read the original article Hit count: 208

Filed under:
|
|

Hi all,

in my windows form (Visual C++ 6.0) I'm using an Active x control called "CDTPicker" (CDTPicker : public CWnd). My control is opened up by the click event of another button. like this (works fine):

void CProducerDlg::OnSelect() 
{    
  ...
  m_wndDatePicker.SetValue(varVariant);
  // hide date combo box if first entry has been chosen
  m_wndDate.ShowWindow(SW_HIDE);
  // show date picker if first entry is chosen
  m_wndDatePicker.ShowWindow(SW_SHOW);
 // open up calendar view
 [tbd]
 ...
}

What I need is the calendar view to open up expanded (showing the complete month). I don't find any method to do this...

Who can help me?

Thanks in advance Olli

© Stack Overflow or respective owner

Related posts about visual-c++

Related posts about mfc