cadconcepts
2005-01-19, 10:37 PM
Hi Everyone-
I was hoping someone could tell me what I am doing wrong. I am including a portion of my lisp program as well as my DCL for review. Ideally, I would like to display BMP image on my dialog box, but the code I have generated only causes my AutoCAD session to lock up. Any help is greatly appreciated. Thanks.
Manuel A. Ayala
(setq x (dimx_tile "ICON")
y (dimy_tile "ICON"))
(start_image "ICON")
(vector_image 0 0 x y (strcat drvpath "cma2005.bmp"))
(end_image)
(start_dialog)
: image_button {
key="ICON";
color=dialog_background;
width=18;
fixed_width=true;
height=2;
fixed_heighth=true;
}
I was hoping someone could tell me what I am doing wrong. I am including a portion of my lisp program as well as my DCL for review. Ideally, I would like to display BMP image on my dialog box, but the code I have generated only causes my AutoCAD session to lock up. Any help is greatly appreciated. Thanks.
Manuel A. Ayala
(setq x (dimx_tile "ICON")
y (dimy_tile "ICON"))
(start_image "ICON")
(vector_image 0 0 x y (strcat drvpath "cma2005.bmp"))
(end_image)
(start_dialog)
: image_button {
key="ICON";
color=dialog_background;
width=18;
fixed_width=true;
height=2;
fixed_heighth=true;
}