MSFlexGrid control



In VB6 I have a MSFlexGrid displaying records from a database using both vertical and horizontal
scroll bars to show all details. Each record row is quite wide, about 26000 twips or almost three
times the width of the grid on the screen.

If I manually scroll to the right to see the data at the far right of a record, then close the
window without scrolling back to the left, when I reopen the window the display is showing the far
right of the records where it was before closing. Is there code that I can add to cause the display
to return to the far left of the grid data when the window is opened/closed?

Thank you,
Jim Y


.



Relevant Pages

  • Re: GDI+ Custom Control
    ... I have actually done this already; my first MFC program was a medical data display and I ... First, I would treat each of the "tiles" as being a separate window, each a child window ... You scroll the tile. ... So there would be one "tile" for Heart ...
    (microsoft.public.win32.programmer.gdi)
  • Re: Plot bitmap lines
    ... but which could generate no better resolution than my window had. ... To scroll quickly, use ScrollWindow, and then have your OnPaint handler be smart about the ... Basically I'm receiving lots of 1280x1 lines in real time and I need to ... display this data along the Y axis. ...
    (microsoft.public.vc.mfc)
  • Re: Split Windows
    ... "Split a window" normally means looking at two different parts of the ... you can only scroll the one your cursor ... If you mean display two documents side by side, ... The tiny toolbar will ...
    (microsoft.public.word.docmanagement)
  • RE: How can we see two different excel sheets on one screen?
    ... Go to Window, and click "compare side by side with..". ... this also gives you the option to scroll simultaneously in both windows... ... > switching back and forth is there a way to display both on my screen. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Scrollbar thumbtrack doesnt scroll all the way
    ... SetWindowPos in regards to an embedded child window. ... Note also that OnSize is ... The size of the scroll bar in between is largely irrelevant to ... The correct value is to use nPos. ...
    (microsoft.public.vc.mfc)

Loading