FYI, the signature of DrawLTypePattern changed in 2004:
2002:
void DrawLTypePattern(class CDC *,class AcDbObjectId,struct tagRECT *)
2004:
void DrawLTypePattern(class CDC *,class AcDbObjectId,struct tagRECT *, int)
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005
http://www.acadxtabs.com
AcadX for AutoCAD 2004 Beta 1
http://mysite.verizon.net/~vze2vjds/acadx/AcadX16.zip
"Byron Blattel" wrote in message news:404f999c$1_1@newsprd01...
> MiChaeL wrote:
> > Hi,
> > Is there a way to show a preview icons in my mfc dialog for selecting
> > linetype.
> > Now I read a "akad.lin" file and I create the image, but it works for simple
> > types.
> >
> >
>
> If you are using a newsreader to view the groups and have loaded all
> past messages look back at the 'DrawLTypePattern - how does it work' thread.
>
> If you can't find it let me know and I'll re-post the relevant parts...
>
> --
> Best regards,
>
> Byron Blattel
> CADwerx--Applications for AutoCAD
> Autodesk Registered Developer
> Contact Info @ http://www.cadwerx.net
> Custom Programming Services - ObjectARX/C++/MFC/ASP/STL/ATL/ISAPI...