cloud14k
cloud14k
我在一个label中使用lb_show_hide_board_= (ui::Label*)FindControl(L"show_hide_board"); lb_show_hide_board_->AttachAllEvents(nbase::Bind(&KbShutcutsForm::OnLbShowHideBoardNotify, this, std::placeholders::_1)); bool KbShutcutsForm::OnLbShowHideBoardNotify(ui::EventArgs* msg) { if (msg->Type == kEventSystemKey) { ui::EventArgs* m = msg; } } 按alt进入不到这个kEventSystemKey 过程,请帮忙解答一下,不胜感激。
## 问题现象 当我把一个session_box放到session_form中时,我把滚动条拉到最下,在SessionBox::AddNewMsg这个函数中,bool at_end = msg_list_->IsAtEnd(); at_end返回false。 session_box在plugin_page中时,这个函数正常,不知道什么问题。 出现异常时,GetScrollRange().cy 比GetScrollPos().cy大。 ## 预期结果 希望在任何情况下,IsAtEnd()都能返回正确的值。 ## 重现步骤
## 问题现象 把一个session_box单独出来放在session_form中后,任务栏缩略图空白,给人感觉就是session_box的内容没有生成正确的缩略图。但在主窗口中时又是好的。查看代码,session_form中关于缩略图的逻辑应该都是ok的,控件指针也正确传递过去了,就是不知道为什么是空白。 主窗口没有使用TaskbarManager,它为什么能正确显示任务栏缩略图呢。  ## 预期结果 希望能显示正确的任务栏缩略图 ## 重现步骤 使用这个函数创建的单独session 窗口 SessionBox * SessionManager::CreateStandAloneSessionBox(const std::string & session_id, nim::NIMSessionType type) { SessionBox *session_box = NULL; SessionForm *session_form = NULL; session_form=new...
## 问题现象 richedit的GetLineCount()函数功能不正常,获取的不是行数而是字符数,见截图。   ## 预期结果 ## 重现步骤