Click here to Skip to main content
15,886,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to read-write Excel using MFC, without MS Office? Pin
Caesarea16-May-13 19:47
Caesarea16-May-13 19:47 
Questionscrollview issue on win7 environment Pin
Ghost Employee14-May-13 16:54
Ghost Employee14-May-13 16:54 
AnswerRe: scrollview issue on win7 environment Pin
Newbie0017-May-13 8:21
Newbie0017-May-13 8:21 
GeneralRe: scrollview issue on win7 environment Pin
Ghost Employee21-May-13 0:50
Ghost Employee21-May-13 0:50 
GeneralRe: scrollview issue on win7 environment Pin
Newbie0022-May-13 9:39
Newbie0022-May-13 9:39 
GeneralRe: scrollview issue on win7 environment Pin
Ghost Employee22-May-13 16:36
Ghost Employee22-May-13 16:36 
GeneralRe: scrollview issue on win7 environment Pin
Ghost Employee24-May-13 21:02
Ghost Employee24-May-13 21:02 
GeneralRe: scrollview issue on win7 environment Pin
Newbie0025-May-13 0:05
Newbie0025-May-13 0:05 
Hello,

In my case the problem was just with screen refreshing on Win7. Updating graphics card driver or turning Windows AERO off on user's computer solved the problem. So I think my case was different from yours. The only one thing is the same in our cases: WinXP worked fine, Win7 did not.

If I undarstand your app correctly, you are creating many GDI objects (many Cwnd obj.). It is a surprise for me, because normally there is a limit for GDI in application. If you reach that limit, method: CWnd::Create() fails. The value of GDI count is written in Windows registry. Unfortunately I don't remember the regkey. But I think this also not your case, since you have got probles with controls overlapping from certain point of scroll pos.

Maybe the problem is not with ScrollBar, but with scrolled out CScrollView. Maybe you have reached the end of CScrollView and your application is trying to draw all controls at the end of CScrollView?

I think you can try to change your mechanics in app. Do something like this:
Do not let your application to scroll View so far (above 32k). It is not necessary. Try to hide/delete controls, if are scrolled out from visible part of View and show/create controls, which has to be shown after scrolling.
GeneralRe: scrollview issue on win7 environment Pin
Ghost Employee27-May-13 16:19
Ghost Employee27-May-13 16:19 
QuestionCurrent line of a CRichEditCtrl Pin
ForNow14-May-13 8:53
ForNow14-May-13 8:53 
AnswerRe: Current line of a CRichEditCtrl Pin
David Crow15-May-13 5:44
David Crow15-May-13 5:44 
GeneralRe: Current line of a CRichEditCtrl Pin
ForNow16-May-13 21:08
ForNow16-May-13 21:08 
QuestionRe: Current line of a CRichEditCtrl Pin
David Crow17-May-13 3:12
David Crow17-May-13 3:12 
AnswerRe: Current line of a CRichEditCtrl Pin
ForNow17-May-13 4:24
ForNow17-May-13 4:24 
GeneralRe: Current line of a CRichEditCtrl Pin
David Crow17-May-13 4:47
David Crow17-May-13 4:47 
GeneralRe: Current line of a CRichEditCtrl Pin
ForNow17-May-13 4:54
ForNow17-May-13 4:54 
GeneralRe: Current line of a CRichEditCtrl Pin
ForNow18-May-13 21:44
ForNow18-May-13 21:44 
Questionhow to develop an generic hid mouse emulator? (Driver in c) Pin
jeffery c14-May-13 4:05
jeffery c14-May-13 4:05 
QuestionHow to Reload the Explorer Pin
sarfaraznawaz14-May-13 2:08
sarfaraznawaz14-May-13 2:08 
AnswerRe: How to Reload the Explorer Pin
dusty_dex14-May-13 2:58
dusty_dex14-May-13 2:58 
QuestionRe: How to Reload the Explorer Pin
David Crow14-May-13 7:00
David Crow14-May-13 7:00 
AnswerRe: How to Reload the Explorer Pin
sarfaraznawaz14-May-13 23:13
sarfaraznawaz14-May-13 23:13 
GeneralRe: How to Reload the Explorer Pin
David Crow15-May-13 5:17
David Crow15-May-13 5:17 
QuestionCBitmap::CreateCompatibleBitmap() fail Pin
_Flaviu13-May-13 2:44
_Flaviu13-May-13 2:44 
SuggestionRe: CBitmap::CreateCompatibleBitmap() fail Pin
Jochen Arndt13-May-13 3:05
professionalJochen Arndt13-May-13 3:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.