CNliteMainFrame::CSubLiveNoComboBox::CSubLiveNoComboBox(CNliteMainFrame &in_self):self(in_self),untilConnectingFlag(FALSE){}
+static VOID AgreeEnterKeyThread(LPVOID userData){
+
+ Sleep(1000);
+ auto noCombo = (CNliteMainFrame::CSubLiveNoComboBox*) userData;
+ noCombo->AgreeInputLvNo();
+
+ return;
+}
+
VOID CNliteMainFrame::CSubLiveNoComboBox::OnKeyDown(TCHAR wParam, UINT upLParam,UINT loLParam){
if(wParam == VK_RETURN){
std::vector<TCHAR> buffer(this->GetWindowTextLengthW() + 1);
::GetWindowTextW(this->m_hWnd,&buffer[0],buffer.size());
self.ConnectNicoLive(&buffer[0]);
+ _beginthread(AgreeEnterKeyThread,0,this);
}
cs.Unlock();