Posted by Greg Estes on Mon, 2 Feb 2004 19:24:40 :
The below source would work if we wanted to print Cosw frame:
GOSUB COS.GetFrameWnd ! cosCwnd$ =3D Frame window
cosMessage =3D WM.COMMAND ! Send a command
coswParam =3D cosPRINT.SESSION ! Command ID
coswParam =3D coswParam+(BN.CLICKED*65536) ! Click
coslParam =3D 0
GOSUB COS.PostMessage
Frank McKay in an earlier email requested this source, he in fact wanted the solution to printing only the visual studio dialog that appears as we are hiding the cosw frame.
Thanks
Greg