Hello!
I 'm trying to make a ListView like window explorer of below picture.
User may select a dwg file at some folder,
then I want to show the Dwgpreview in ListView of Icon and label.
Not the BlockList or DwgPreview style, showing only the selected dwg file.
Any tip or sample will be appreciated.
Thanks.
--------------------------
It sounds like you're describing the DwgList (http://www.opendcl.com/HelpFiles/index.php?page=Reference/Control/DwgList.htm).
Thanks, owen.
I know that, but not the all Dwgpreivew of selected folder.
want to add just selected dwg preview in the ListView item.
I've checked every post with "preview" or "image" in this forum and other web site like ADG.
I cound not find the suitable posting.
I wonder , the image of Dwgpreview Control display where is it?
Could manage the Dwgpreview image to saveas out like bmp image?
There are ways to extract the preview from .DWG files, but I'm not sure you can't achieve what you're after with DwgList and let it do the work for you.
Yea, I just thougth that if I can get the preview image of DWG file then make the preview image as the ImageList item in ListView.
When add the selected DWG file as item to ListView, try to change the image index.
But it failed as you already posted , could not make the Imagelist at runtime.
With DwgList, at first add files of selected folder then delete item except the target dwg files.
But the items in the DwgList don't appear like Listview ICON style.
So all I want to do is to add the selected DWG files to ListView items with ICON of preview image
(if possible specified size 48x48 ) and filename as label.
I'm still digging. :'(
Thanks.
Hi, Owen.
Would like to show me the way to extract Dwg Preview image as bmp picture?
Maybe I can get something from that.
Hi, have a look at here (http://www.theswamp.org/index.php?topic=30985.0).
Regards, Fred
Hi, Fred.
Good to see you.
Thank you for your concern.
I'll check it.
Thanks.