Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access ODBC issue/question in MFC Application CDatabase Class Pin
jkirkerx12-Dec-11 4:20
professionaljkirkerx12-Dec-11 4:20 
QuestionTextOut/DrawText is too slow Pin
Joe Smith IX6-Dec-11 6:32
Joe Smith IX6-Dec-11 6:32 
AnswerRe: TextOut/DrawText is too slow Pin
Chris Losinger6-Dec-11 8:45
professionalChris Losinger6-Dec-11 8:45 
GeneralRe: TextOut/DrawText is too slow Pin
Albert Holguin6-Dec-11 14:34
professionalAlbert Holguin6-Dec-11 14:34 
GeneralRe: TextOut/DrawText is too slow Pin
Chris Losinger6-Dec-11 15:13
professionalChris Losinger6-Dec-11 15:13 
GeneralRe: TextOut/DrawText is too slow Pin
Albert Holguin6-Dec-11 16:00
professionalAlbert Holguin6-Dec-11 16:00 
GeneralRe: TextOut/DrawText is too slow Pin
Joe Smith IX7-Dec-11 3:10
Joe Smith IX7-Dec-11 3:10 
AnswerRe: TextOut/DrawText is too slow Pin
Software_Developer6-Dec-11 15:30
Software_Developer6-Dec-11 15:30 
How to make it faster:

In the file ScrollerCtrl.cpp, set CScrollerCtrl::nSCROLL_DELAY to 1 and CScrollerCtrl::nSCROLL_PAUSE to 1.
That should speed it up a bit.

C#
// defaults
const int   CScrollerCtrl::nSCROLL_DELAY  = 1;    // time between each frame (milliseconds)
const int   CScrollerCtrl::nSCROLL_PAUSE  = 1;  // time to pause before autoscrolling (milliseconds)
const int   CScrollerCtrl::nMARGIN        = 5;     // (pixels)
const int   CScrollerCtrl::nFONT_SIZE     = 12;    // (points)
const int   CScrollerCtrl::nFONT_WEIGHT   = FW_SEMIBOLD;
const char* CScrollerCtrl::szFONT_NAME    = "Comic Sans MS";

AnswerRe: TextOut/DrawText is too slow Pin
JackDingler9-Dec-11 10:10
JackDingler9-Dec-11 10:10 
QuestionDesigning file processing application Pin
Member 3287156-Dec-11 4:07
Member 3287156-Dec-11 4:07 
AnswerRe: Designing file processing application Pin
Albert Holguin6-Dec-11 5:30
professionalAlbert Holguin6-Dec-11 5:30 
GeneralRe: Designing file processing application Pin
JackDingler6-Dec-11 6:17
JackDingler6-Dec-11 6:17 
AnswerRe: Designing file processing application Pin
Luc Pattyn6-Dec-11 6:10
sitebuilderLuc Pattyn6-Dec-11 6:10 
QuestionAccessing file from a remote location Pin
_AnsHUMAN_ 6-Dec-11 1:12
_AnsHUMAN_ 6-Dec-11 1:12 
AnswerRe: Accessing file from a remote location Pin
Code-o-mat6-Dec-11 1:34
Code-o-mat6-Dec-11 1:34 
QuestionRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 2:46
professionalRajesh R Subramanian6-Dec-11 2:46 
AnswerRe: Accessing file from a remote location Pin
_AnsHUMAN_ 6-Dec-11 16:52
_AnsHUMAN_ 6-Dec-11 16:52 
GeneralRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 18:15
professionalRajesh R Subramanian6-Dec-11 18:15 
GeneralRe: Accessing file from a remote location Pin
pix_programmer6-Dec-11 19:30
pix_programmer6-Dec-11 19:30 
AnswerRe: Accessing file from a remote location Pin
Rajesh R Subramanian6-Dec-11 20:03
professionalRajesh R Subramanian6-Dec-11 20:03 
GeneralRe: Accessing file from a remote location Pin
KjellKod.cc6-Dec-11 20:16
KjellKod.cc6-Dec-11 20:16 
SuggestionRe: Accessing file from a remote location Pin
David Crow7-Dec-11 6:24
David Crow7-Dec-11 6:24 
Questionconvert from 'LPCTSTR' to 'const char *' Pin
Le@rner6-Dec-11 0:31
Le@rner6-Dec-11 0:31 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Code-o-mat6-Dec-11 1:31
Code-o-mat6-Dec-11 1:31 
AnswerRe: convert from 'LPCTSTR' to 'const char *' Pin
Richard MacCutchan6-Dec-11 1:48
mveRichard MacCutchan6-Dec-11 1:48 

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.