Click to open or copy the Lines project files.
The Lines sample is an Automation server application that implements collections. Lines allows a collection on lines to be drawn on a pane using Automation.
This sample uses the following keywords:
_fstrstr; addendpointstopane; addpoint; addref; beginpaint; capplication; capplicationcf; cenumvariant; choosecolor; clear; clearpane; cline; clines; clone; codisconnectobject; colockobjectexternal; converttoansi; converttounicode; coregisterclassobject; corevokeclassobject; cpane; cpoint; cpoints; create; createanddrawline; createerrorinfo; createinstance; createline; createpen; createpoint; createwindow; csupporterrorinfo; declare_interface_; define_guid; defwindowproc; deleteobject; destroywindow; dialogboxparam; dispatchmessage; dispgetidsofnames; dispinvoke; dptolp; draw; drawlinedialogfunc; enddialog; endpaint; failed; from_ole_string; get__newenum; get_application; get_color; get_count; get_endpoint; get_fullname; get_item; get_lines; get_maxx; get_maxy; get_name; get_pane; get_parent; get_points; get_startpoint; get_thickness; get_visible; get_wm_command_cmd; get_wm_command_hwnd; get_wm_command_id; get_x; get_y; getdc; getdlgitemint; getidsofnames; getinvalidaterect; getmaxxmaxy; getmessage; getmodulefilename; gettypeinfo; gettypeinfocount; gettypeinfoofguid; inflaterect; initapplication; initinstance; interfacesupportserrorinfo; internaladdref; internalrelease; invalidaterect; invoke; iswindow; lineto; loadcursor; loadicon; loadregtypelib; loadstring; loadtypeinfo; loadtypelib; lockserver; lptodp; make_scode; makeintresource; memset; messagebox; movetoex; multibytetowidechar; next; oleinitialize; olestr; oleuninitialize; onsize; outputdebugstring; postmessage; postquitmessage; processcmdline; ptinrect; put_color; put_thickness; put_visible; put_x; put_y; putref_endpoint; putref_startpoint; queryinterface; quit; raiseexception; refresh; registeractiveobject; registerclass; release; releasedc; remove; removeendpointsfrompane; removepoint; reset; revokeactiveobject; rgb; safearrayaccessdata; safearrayallocdata; safearraycopy; safearraycreate; safearraydestroy; safearraydestroydata; safearraygetelement; safearraygetlbound; safearrayputelement; safearrayunaccessdata; selectobject; setdescription; setdlgitemtext; seterrorinfo; setguid; setmapmode; setmessagequeue; setrect; setsource; setwindoworgex; showwindow; skip; stdmethod; stdmethod_; stdmethodimp_; succeeded; switch; sysallocstring; sysfreestring; text; to_ole_string; translatemessage; uninitialize; update; updatewindow; variantclear; variantinit; widechartomultibyte; wsprintf