linetype preview

linetype preview

Anonymous
Not applicable
629 Views
9 Replies
Message 1 of 10

linetype preview

Anonymous
Not applicable
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.
0 Likes
630 Views
9 Replies
Replies (9)
Message 2 of 10

Anonymous
Not applicable
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...
0 Likes
Message 3 of 10

Anonymous
Not applicable
Thank you very much!!!
0 Likes
Message 4 of 10

Anonymous
Not applicable
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...
0 Likes
Message 5 of 10

Anonymous
Not applicable
Where can I find the function in the header files?
0 Likes
Message 6 of 10

Anonymous
Not applicable
The function isn't in any header file (it's undocumented), you just declare it as it was shown in my post. -- 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 "bgkmi" wrote in message news:[email protected]... > Where can I find the function in the header files?
0 Likes
Message 7 of 10

Anonymous
Not applicable
Also, you need to prefix the declaration with 'extern'. -- 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 "bgkmi" wrote in message news:[email protected]... > Where can I find the function in the header files?
0 Likes
Message 8 of 10

Anonymous
Not applicable
I wonder how you can know this function? Does it because you are ADN member? "Tony Tanzillo" wrote in message news:4051fdb6$1_2@newsprd01... > Also, you need to prefix the declaration with 'extern'. > > > -- > 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 > > > "bgkmi" wrote in message news:[email protected]... > > Where can I find the function in the header files? > >
0 Likes
Message 9 of 10

Anonymous
Not applicable
Do I need to compile with any .lib file to use this function? "Tony Tanzillo" wrote in message news:4051fdb6$1_2@newsprd01... > Also, you need to prefix the declaration with 'extern'. > > > -- > 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 > > > "bgkmi" wrote in message news:[email protected]... > > Where can I find the function in the header files? > >
0 Likes
Message 10 of 10

Anonymous
Not applicable
I can't tell you, because I've tried to use it in anything but an ObjectARX module loaded into AutoCAD (you can't use it in a .DBX because it's exported by ACAD.EXE). Since it's in the exports table, I don't think you need any .lib to use it, but it does use the MFC CDC class. -- 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 "bgkmi" wrote in message news:40571801_3@newsprd01... > Do I need to compile with any .lib file to use this function? > > > > "Tony Tanzillo" wrote in message > news:4051fdb6$1_2@newsprd01... > > Also, you need to prefix the declaration with 'extern'. > > > > > > -- > > 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 > > > > > > "bgkmi" wrote in message > news:[email protected]... > > > Where can I find the function in the header files? > > > > > >
0 Likes