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 :


to :


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)
Sign In or Register to comment.

Howdy, Stranger!

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