If you want extended /ci(createitem):

WndControl.cpp
Search for:
Code:
int CWndComboBox::AddString( LPCTSTR lpszString )
{
int nNum = m_wndListBox.AddString( lpszString );
CRect rect = m_wndListBox.GetWindowRect( TRUE );
rect.bottom = rect.top + ( ( nNum + 1 ) * ( m_pFont->GetMaxHeight() + 3 ) ) + 8;
m_wndListBox.SetWndRect( rect );
return nNum;
}
Code:
int CWndComboBox::AddString( LPCTSTR lpszString )
{
int nNum = m_wndListBox.AddString( lpszString );
CRect rect = m_wndListBox.GetWindowRect( TRUE );
if(nNum > 10)
nNum = 10;
DEBUG_ONLY(IRALog::GetInstance()->Debug("CWndComboBox::AddString : nNum[%d]", nNum));
rect.bottom = rect.top + ( ( nNum + 1 ) * ( m_pFont->GetMaxHeight() + 3 ) ) + 8;
m_wndListBox.SetWndRect( rect );
return nNum;
}
.
To edit Height of combo box:
Code:
nNum > 10 nNum = 10 Replace 10 what ever you wan't its either 15 or 20
Credits: 99.99% Caja
00.01% Me






