Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

IShellView, CView and OnSize (display bug)

i've put an HWND created by IShellView:CreateViewWindow in a CView. when i resize the window, the display is broken, especially when i set the view to DETAILS, and resize the windows horizontally : the display of the right-hand scrollbar is broken.

you can easily try it by creating an MFC appwizard project, SDI, and use CHtmlView as base class for the view class. in the view .cpp file, change the line :

Navigate2(_T("http://www.microsoft.com/visualc/"),NULL,NULL);

to :

Navigate2(_T("c:\"),NULL,NULL);

you won't even have to set to DETAILS mode, just resize the window horizontally and you'll see right-hand scrollbar won't be displayed correctly.

how to correct this ? (no one will have the answer i'll bet)

Comments

  • Justin BibJustin Bib USAMember Posts: 0

    ______ ( http://forcoder.org ) free ebooks and video tutorials about / Assembly C++ Delphi Objective-C Perl Scratch C C# Java PL/SQL Swift Python JavaScript Ruby R MATLAB Visual Basic .NET Go Visual Basic PHP Scala Kotlin Erlang ABAP ML Lua Fortran Logo F# Scheme Prolog SAS VBScript Crystal Rust Alice Transact-SQL LabVIEW Awk Ada Julia Dart Lisp Bash Hack FoxPro Apex D COBOL Clojure / _________

Sign In or Register to comment.