• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How to fix the admin create item window

Skilled Illusionist
Joined
May 11, 2011
Messages
316
Reaction score
28
How to fix the admin create item window

How can i fix this little bug?
I miss the scrollbar for the item type and the list is to long.

9GvF6FWl - How to fix the admin create item window - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jun 11, 2010
Messages
40
Reaction score
2
When I had this problem, I tried adjusting the resolution. I know there was one setting that showed most (if not all) of the items in the list. It's not a permanent fix, but it's a temporary solution until someone can help further.
 
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
WndControl.cpp

Find:
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;
}

Replace With:
Code:
int CWndComboBox::AddString( LPCTSTR lpszString )
{
    int nNum = m_wndListBox.AddString( lpszString );
    CRect rect = m_wndListBox.GetWindowRect( TRUE );
    rect.bottom = rect.top + ( ( (nNum <= 10 ? nNum : 10) + 1 ) * ( m_pFont->GetMaxHeight() + 3 ) ) + 8;
    m_wndListBox.SetWndRect( rect );
    return nNum;
}
 
Back
Top