几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】file open dialogue with bitmap preview (http://www.dimcax.com/hust/showthread.php?t=16302)

yang686526 2009-05-05 10:52 AM

【转帖】file open dialogue with bitmap preview
 
file open dialogue with bitmap preview
file open dialogue with bitmap preview
i am finding the bitmap preview approach in the samples abit hard to follow.
can someone talk me through it or do you have an alternative?
i used to have a cfiledialog derived class that did it, but i would prefer to use existing code.
i am happy to use the dwgdirect supplied one if someone explains to me how to use it in my program.
thanks.
andrew
see dd_nonlibs.zip: examples/win/extdialog. it's a dll containing file open dialog with preview.
note that this sample was included in 1.09
sergey slezkin
i am using version 1.08. it has a extdialog folder with 4 files in it:
filedlgext.h
previewfiledlg.h
resource.h
stdafx.h
do i still have to download 1.09 ??
andrew
if .h files are enough for you - no need in downloading 1.09 (except upgrading to new dd version with new features and fixes)
1.09 contains also .cpp & .res files for building odadlgext.dll.
sergey slezkin
ok, i will download 1.09 then. you might get a subsequent posting if i get stuck
andrew


所有的时间均为北京时间。 现在的时间是 06:15 AM.