GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 07-Jul-2009, 18:13
spgonzalez spgonzalez is offline
New Member
 
Join Date: Jul 2009
Posts: 1
spgonzalez is on a distinguished road

CRichEditCtrl nTrackPos not working


Does anybody know why when calling GetScrollInfo for a CRichEditCtrl, my nPos would be the exact same as my nTrackPos even though I've been dragging the scrollbar? I set up a break point to hit when I'm clicking and dragging the vertical scroll bar and the nTrackPos is the same as nPos, which is the position of the scroll bar before I began dragging the scroll bar. Here is
the code I am running before my break point:

SCROLLINFO si;
ZeroMemory(&si, sizeof(SCROLLINFO));
si.cbSize = sizeof(SCROLLINFO);
si.fMask = SIF_POS | SIF_RANGE | SIF_PAGE | SIF_TRACKPOS;
richText.GetScrollInfo(SB_VERT, &si);

I'm using Visual C++ 7.0, .NET 1.0
Thanks.
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
doskey not working in windows xp anil Computer Software Forum - Windows 0 09-Jun-2007 02:33
Re: Still working on the BBCodes II... admin GIDNetwork™ 1 01-Mar-2007 22:01
htaccess basic authentication just stops working zoolander Apache Web Server Forum 0 12-Jan-2007 13:41
Re: Still working on the BBCodes... admin GIDNetwork™ 2 11-May-2005 23:28

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 00:55.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.