Path: utzoo!attcan!uunet!lll-winken!decwrl!apple!portal!cup.portal.com!Stuart_Jefferson_Adams From: Stuart_Jefferson_Adams@cup.portal.com Newsgroups: comp.windows.x Subject: Extending Panel Package in XView 2.0 i.e. new panel item types Message-ID: <34271@cup.portal.com> Date: 26 Sep 90 04:12:50 GMT Organization: The Portal System (TM) Lines: 25 What is the best way to add new item types to XView 2.0's Panel package ??? Currently I am making some display only items (decorations) such as lines, boxes, circles, etc. I have been simply making a PANEL_MESSAGE type item with no message and XV_SHOW FALSE, then adding my own attributes with XV_KEY_DATA. Then when the panel receives a repaint call I cycle through all the items in the panel and handle the redraw for the new item types i have defined. I noticed a Panel item type "PANEL_EXTENSION_ITEM" in panel.h but have had no luck trying to use it. Thanks, Stuart --------------------- Stuart Adams stuart_adams@cup.portal.com Draper Labs sja@draper.com 555 Tech Sq. Cambridge MA 02139 617-258-2257 ----------------------