|
-
May 23rd, 1999, 08:22 PM
#1
How to avoid this wrong
Hello everyone:
In my project, I draw several curves and output some data in view. but when I scroll the view,somethine wrong about GDI.exe happens. How to avoid it?
When preview print the view, something wrong also happens and if I ignore the wrong, I can preview the print. But it does not suppor scroll.
Thanks a lot.
[email protected]
-
May 23rd, 1999, 11:47 PM
#2
Re: How to avoid this wrong
I think your scroll view will be too large,
the MFC scrollview's length support less then
32,677, please debug into the error or see the
online help.
-
May 24th, 1999, 12:22 AM
#3
Re: How to avoid this wrong
In fact, my scroll view includes only one page.
Do you have other advice?
-
May 24th, 1999, 02:29 AM
#4
Re: How to avoid this wrong
Are you calling SetScrollSizes() to set the page size? If so, what parameters are you passing? This does not NEED to be done, as the default CScrollView's OnInitialUpdate() sets a default size.
Perhaps you could show us the code in the OnDraw() method, that might give us something to look at.
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
|