jjoshua@topaz.rutgers.edu (Jon Joshua) (02/12/90)
I spent a few hours today trying to figure out why FrameRect()
wouldn't. I was making a DA and it was working when run under LS C DA
test shell. Here was my problem...
PenPat (black);
FrameRect ();
It seems that when you write a DA certain constants aren't available
as they are when you write Apps. Color constants are a few of them.
I had to get the color pattern from SysPatList.
So, here was the fix...
GetIndPattern (foo, bar, &blackPattern);
PenPat (blackPattern);
FrameRect ();
Oh, well. I hope that this may spare someone from a few hours of head
scratching.
JOn.
--
/\ ? ________________
jjoshua@topaz.rutgers.edu \ ____ __ fgu |.signature under|
Anything is possible... \ | | / | orywlut- | construction |
========== gfgsdfsdfsd |________________|
_____________________________OO_____O___hfdhksjdhfksjdfs_______||__________||__