MCPcopy Create free account
hub / github.com/cinience/RedisStudio / OnKeyAdd

Method OnKeyAdd

RedisStudio/RedisDataUI.cpp:853–867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

851}
852
853LRESULT RedisDataUI::OnKeyAdd( HWND hwnd, WPARAM wParam, LPARAM lParam )
854{
855 std::auto_ptr<TreeKeyContactData> pData(reinterpret_cast<TreeKeyContactData*>(wParam));
856 CTreeNodeUI* pPNode = pData->pPNode;
857 CTreeNodeUI* pNode = pData->pNode;
858
859 m_bIsKeyRender = true;
860 if (pNode->GetTag() != 0)
861 {
862 pNode->GetFolderButton()->Selected(true);
863 }
864 pPNode->AddChildNode(pNode);
865 m_bIsKeyRender = false;
866 return TRUE;
867}
868
869LRESULT RedisDataUI::OnKeyDel( HWND hwnd, WPARAM wParam, LPARAM lParam )
870{

Callers

nothing calls this directly

Calls 3

GetTagMethod · 0.80
SelectedMethod · 0.80
AddChildNodeMethod · 0.80

Tested by

no test coverage detected