My TabPlayerList from Input Chat is not working anymore, please help...
In the Combat or In-Game, I press ENTER to Input Chat or to Chat
When I press Tab to show the PlayerList Names, it doesn't show but it just direct to Scoreboard list.
I edit something in the ZCombatInterface.cpp also in ZChat.cpp but I built it successfully.
I just forgot what the wrong I've edited.
Anyone can help me?
FROM WHAT I UNDERSTAND, MAYBE THE WRONG IS HERE:
Code:
pWidget = m_pIDLResource->FindWidget(ZIITEM_COMBAT_CHATINPUT);
if (pWidget!=NULL)
{
m_pInputEdit = (MEdit*)pWidget;
m_pInputEdit->Show(false);
if(bUsePlayerList)
{
// TabPlayerList
MWidget* pPivot = m_pInputEdit->GetParent();
m_pTabPlayerList = new ZTabPlayerList("TabPlayerList", pPivot, ZGetCombatInterface());
m_pTabPlayerList->Show(false);
m_pTabPlayerList->SetBounds(m_pInputEdit->GetPosition().x, m_pInputEdit->GetPosition().y-120-5, 150, 120);
m_pTabPlayerList->SetChatControl(m_pInputEdit);
m_pInputEdit->SetTabHandler(m_pTabPlayerList);
}
NOT SURE
Re: My TabPlayerList from Input Chat is not working anymore, please help...
Grab the same part of the code from an un edited zcombat interface and compare it to your code. Then find what the isse is and post here.
Re: My TabPlayerList from Input Chat is not working anymore, please help...
Quote:
Originally Posted by
Sensor
Grab the same part of the code from an un edited zcombat interface and compare it to your code. Then find what the isse is and post here.
My backup source and the source I am currently using are the same I check each lines like ALT+TAB, scroll down.
I don't know why it become like this. T_T
Re: My TabPlayerList from Input Chat is not working anymore, please help...
Then grab a ZCombatInterface.cpp from a fresh source and do the same, makes no difference