views:

21

answers:

1

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

A: 

See solution using a simulated F4 key input here.

Olli