| | |
| | | return tvi.lParam; |
| | | } |
| | | |
| | | int SetItemData(HTREEITEM hItem, KXMLDOMElement value) |
| | | { |
| | | return SetItemData(hItem, (LPARAM)value.ptr()); |
| | | } |
| | | |
| | | int SetItemData(HTREEITEM hItem,LPARAM value) |
| | | { |
| | | int TVM_SETITEM = TV_FIRST + 63; |
| | |
| | | SendMessage(GetHWND(), TVM_GETITEMW, 0,(LPARAM)&xitem); |
| | | return xitem.cChildren; |
| | | } |
| | | #if 0 |
| | | string PopupMenu(string str) |
| | | |
| | | xstring PopupMenu(string str) |
| | | { |
| | | return (str)SendMessage(GetHWND(), 0x402, (WPARAM)str, 0); |
| | | return (string)SendMessage(GetHWND(), 0x402, (WPARAM)str, 0); |
| | | } |
| | | |
| | | string PopupMenu(KXMLDOMElement e) |
| | | { |
| | | return PopupMenu(e.xml); |
| | | return PopupMenu(e.xml()); |
| | | } |
| | | #endif |
| | | |
| | | void SetLineAtRoot(bool value) |
| | | { |