|
-
October 3rd, 1999, 09:44 PM
#1
Getting the view to print . . .
I added a new view to my app (derived from CScrollView). I wrote stuff in OnDraw and screen looks fine. I thought I would automatically have printer code. The menu item PRINT is inactive. Isn't there some default printer behavior I can wire into? Thanks for your input.
-
October 3rd, 1999, 11:24 PM
#2
Re: Getting the view to print . . .
Add the following entries in your message map
ON_COMMAND(ID_FILE_PRINT, CScrollView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_DIRECT, CScrollView::OnFilePrint)
ON_COMMAND(ID_FILE_PRINT_PREVIEW, CScrollView::OnFilePrintPreview)
HTH,
Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|