| | |
| | | for (i=0;i<s;i++) |
| | | { |
| | | KXMLDOMElement xitem= li.item(i); |
| | | void * p = new KXMLDOMElement(xitem); |
| | | int k = cbx_panelName.AddItem(xstring(i).c_str()); |
| | | cbx_panelName.SetItemData(k, (LPARAM)p); |
| | | cbx_panelName.SetItemData(k, xitem); |
| | | } |
| | | return 1; |
| | | } |
| | |
| | | { |
| | | xaserverarg arg = GetArg(); |
| | | m_nHwnd = (HWND)arg.GetParam(L"hwnd"); |
| | | cbx_menu = (void*)arg.GetParam(L"memuId"); |
| | | cbx_tab = (void*)arg.GetParam(L"tabNo"); |
| | | cbx_panelNo = (void*)arg.GetParam(L"panelNo"); |
| | | cbx_panelName = (void*)arg.GetParam(L"panelName"); |
| | | cbx_menu = (void*)arg.GetParam(L"cbx_menu"); |
| | | cbx_tab = (void*)arg.GetParam(L"cbx_tab"); |
| | | cbx_panelNo = (void*)arg.GetParam(L"cbx_panelNo"); |
| | | cbx_panelName = (void*)arg.GetParam(L"cbx_panelName"); |
| | | xstring s = L"menuid:"+xstring((LPARAM)GetHWND()); |
| | | SendMessage(m_nHwnd, 0x401, (LPARAM)s.c_str(), 0); |
| | | } |