Prev: Page breaks in wxRichTextCtrl
Next: Mail server report.
From: Razvan Cojocaru on 14 May 2010 05:38 Hello, I'd like to scroll to the bottom of a HTML page displayed in a wxHtmlWindow-derived UI component. My quick-and-dirty solution was this: GetVirtualSize(&x, &y); GetScrollPixelsPerUnit(&xUnit, &yUnit); Scroll(0, y / yUnit); It does work in all my tests, but doesn't quite feel right. I was hoping for better, more "official" way of scrolling to the bottom of a wxHtmlWindow. Is there one? Thanks, -- Razvan Cojocaru KeyID: 0x04CA34DE
|
Pages: 1 Prev: Page breaks in wxRichTextCtrl Next: Mail server report. |