Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
| Search | Today's Posts | Mark Forums Read
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 20th, 2003, 12:04 PM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I do simultaneous scrolling of 2 wnd?

I need a code to do simultaneous scrolling of 2 RichEdit-s in my application. What should I do for this?

  #2 (permalink)  
Old August 21st, 2003, 04:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

You can call GetFirstVisibleLine on the scroll event of the first Richedit and use LineScroll to
scroll the second Richedit accordingly.
Thats assuming that the contents of the two boxes and no. of lines are same.



Ankur Verma
.Net and C++ Specialist
Wiley Tech Support


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simultaneous file write jmjlm VBScript 4 May 25th, 2007 04:41 PM
Multiple simultaneous asynchronous requests mehdi62b ASP.NET 1.0 and 1.1 Professional 18 August 25th, 2004 04:18 PM
Simultaneous multiple file download balamuralivenkat Classic ASP Basics 6 December 17th, 2003 11:37 PM
Simultaneous xml file access jim77002 XML 2 September 1st, 2003 03:30 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.