Created
February 7, 2010 02:34
-
-
Save wose/297144 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BOOL CComboDemoDlg::OnInitDialog() | |
{ | |
CDialog::OnInitDialog(); | |
// Set the icon for this dialog. The framework does this automatically | |
// when the application's main window is not a dialog | |
SetIcon(m_hIcon, TRUE); // Set big icon | |
SetIcon(m_hIcon, FALSE); // Set small icon | |
// TODO: Add extra initialization here | |
m_ctrlComboList.AddString(_T("Bazinga!")); | |
m_ctrlComboList.AddString(_T("Foobar...")); | |
m_ctrlComboList.AddString(_T("mookooh :)")); | |
return TRUE; // return TRUE unless you set the focus to a control | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment