Click here to Skip to main content
16,010,553 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Name Mangling. Pin
David Crow21-Jul-04 7:07
David Crow21-Jul-04 7:07 
Questionwhat does _T() do? Pin
Archer28220-Jul-04 18:13
Archer28220-Jul-04 18:13 
AnswerRe: what does _T() do? Pin
Anonymous20-Jul-04 18:40
Anonymous20-Jul-04 18:40 
AnswerRe: what does _T() do? Pin
Michael Dunn20-Jul-04 20:16
sitebuilderMichael Dunn20-Jul-04 20:16 
Questionwhat cause the differents of drawing between gdi and gdi+ Pin
JoaKing20-Jul-04 16:55
JoaKing20-Jul-04 16:55 
GeneralMonitoring Port 110 Traffic Question Pin
otrcomm20-Jul-04 15:43
otrcomm20-Jul-04 15:43 
GeneralScrollbar resets to zero Pin
Gammill20-Jul-04 15:41
Gammill20-Jul-04 15:41 
GeneralRe: Scrollbar resets to zero Pin
Johan Rosengren21-Jul-04 0:27
Johan Rosengren21-Jul-04 0:27 
One way to try to track this problem is to have one, and only one, function calling SetScrollPos in each view. Add some dummy code checking for a zero value, something like

...SetScrollbarPositions...
{
  if( newpos == 0 )
  {
    int a = 0;
  }

  // rest of function


Run your application. Scroll one of the views. Switch to the debugger. Set a breakpoint at int a = 0. Switch to the app. Do the stuff that resets the scrollbar. Check the callstack in the debugger to see where it was called from. Problem most likely solved Smile | :)

The slightly clumsy addition of extra code is to avoid (perhaps) a billion legal breaks before the problematic action.
Generalneed help in linking two pages Pin
Member 118298220-Jul-04 15:40
Member 118298220-Jul-04 15:40 
GeneralRe: need help in linking two pages Pin
Johan Rosengren21-Jul-04 0:40
Johan Rosengren21-Jul-04 0:40 
Generalchat window BG Pin
ANDYFA20-Jul-04 14:19
ANDYFA20-Jul-04 14:19 
GeneralRe: chat window BG Pin
Antti Keskinen20-Jul-04 23:07
Antti Keskinen20-Jul-04 23:07 
GeneralDlls, callbacks and function pointers Pin
Irenepower20-Jul-04 10:51
Irenepower20-Jul-04 10:51 
GeneralRe: Dlls, callbacks and function pointers Pin
Antti Keskinen20-Jul-04 11:43
Antti Keskinen20-Jul-04 11:43 
GeneralRe: Dlls, callbacks and function pointers Pin
Member 124998021-Jul-04 3:37
Member 124998021-Jul-04 3:37 
GeneralRe: Dlls, callbacks and function pointers Pin
Antti Keskinen21-Jul-04 3:54
Antti Keskinen21-Jul-04 3:54 
GeneralRe: Dlls, callbacks and function pointers Pin
Member 124998021-Jul-04 4:59
Member 124998021-Jul-04 4:59 
GeneralRe: Dlls, callbacks and function pointers Pin
Antti Keskinen21-Jul-04 7:21
Antti Keskinen21-Jul-04 7:21 
GeneralRe: Dlls, callbacks and function pointers Pin
Antti Keskinen21-Jul-04 8:21
Antti Keskinen21-Jul-04 8:21 
GeneralRe: Dlls, callbacks and function pointers Pin
Member 124998021-Jul-04 10:11
Member 124998021-Jul-04 10:11 
GeneralRe: Dlls, callbacks and function pointers Pin
-Irenepower22-Jul-04 2:41
suss-Irenepower22-Jul-04 2:41 
GeneralCopyFile Error on XP Pin
Timothy Grabrian20-Jul-04 10:15
professionalTimothy Grabrian20-Jul-04 10:15 
GeneralRe: CopyFile Error on XP Pin
gamitech20-Jul-04 11:13
gamitech20-Jul-04 11:13 
GeneralRe: CopyFile Error on XP Pin
P-Rex20-Jul-04 20:15
P-Rex20-Jul-04 20:15 
GeneralRe: CopyFile Error on XP Pin
Timothy Grabrian21-Jul-04 11:15
professionalTimothy Grabrian21-Jul-04 11:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.