home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1707 < prev    next >
Encoding:
Text File  |  1992-09-08  |  984 b   |  23 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!cs.utexas.edu!torn!cunews!revcan!micor!uuisis!bbs
  3. From: mpdillon@uuisis.isis.org (Michael Dillon)
  4. Subject: Scrolling text in a window
  5. Organization: International Shared Information Service (Ottawa)
  6. Date: Mon, 07 Sep 92 07:17:32 GMT
  7. Message-ID: <TFZPqB1w164w@uuisis.isis.org>
  8. Sender: bbs@uuisis.isis.org
  9. Lines: 12
  10.  
  11. Many applications such as most Word processors must use a scrolling
  12. text window which does not use the same code as an edit control due
  13. to the need for more control or more text buffer space than provided in a 
  14. text control.
  15.  
  16. However, when writing a Visual Basic app, it seems that scrolling a text
  17. window magically becomes slower (much slower) than in commercially
  18. available apps which are written in C.
  19.  
  20. Why is this??  Is there a faster way to scroll than calling ScrollWindow or 
  21. ScrollDC or BitBlt from VB ???  Or is this a problem that is inherent in
  22. the way that VB interacts with the Win API???
  23.