Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help on how to move line between two horizontal sliders with slider position [modified] Pin
John50217-Feb-09 0:01
John50217-Feb-09 0:01 
AnswerRe: Need help on how to move line between two horizontal sliders with slider position Pin
«_Superman_»17-Feb-09 1:06
professional«_Superman_»17-Feb-09 1:06 
GeneralRe: Need help on how to move line between two horizontal sliders with slider position [modified] Pin
John50217-Feb-09 1:38
John50217-Feb-09 1:38 
QuestionRe: Need help on how to move line between two horizontal sliders with slider position Pin
«_Superman_»17-Feb-09 2:29
professional«_Superman_»17-Feb-09 2:29 
AnswerRe: Need help on how to move line between two horizontal sliders with slider position [modified] Pin
John50217-Feb-09 2:52
John50217-Feb-09 2:52 
GeneralRe: Need help on how to move line between two horizontal sliders with slider position Pin
«_Superman_»17-Feb-09 19:10
professional«_Superman_»17-Feb-09 19:10 
GeneralRe: Need help on how to move line between two horizontal sliders with slider position Pin
John50217-Feb-09 23:24
John50217-Feb-09 23:24 
GeneralRe: Need help on how to move line between two horizontal sliders with slider position Pin
«_Superman_»17-Feb-09 23:35
professional«_Superman_»17-Feb-09 23:35 
You are using x1, y1, x2 and y2 in 2 functions.
I'm assuming you're creating the variables as member variables.
If so remove the int keyword from within the while loop.

Also, in OnPaint you must call BeginPaint instead of GetDC.
And instead of 2 InvalidateRect calls, do a single Invalidate call.

«_Superman_»

GeneralRe: Need help on how to move line between two horizontal sliders with slider position Pin
John50218-Feb-09 1:08
John50218-Feb-09 1:08 
GeneralRe: Need help on how to move line between two horizontal sliders with slider position Pin
John50217-Feb-09 1:01
John50217-Feb-09 1:01 
QuestionProtocol Design Pin
septane16-Feb-09 22:22
septane16-Feb-09 22:22 
AnswerRe: Protocol Design Pin
Cedric Moonen16-Feb-09 22:48
Cedric Moonen16-Feb-09 22:48 
QuestionCHttpFile->Read = not enough storage is available to process this command Pin
Psyinx16-Feb-09 20:21
Psyinx16-Feb-09 20:21 
AnswerRe: CHttpFile->Read = not enough storage is available to process this command Pin
Stuart Dootson16-Feb-09 21:13
professionalStuart Dootson16-Feb-09 21:13 
GeneralRe: CHttpFile->Read = not enough storage is available to process this command Pin
Psyinx16-Feb-09 21:24
Psyinx16-Feb-09 21:24 
GeneralRe: CHttpFile->Read = not enough storage is available to process this command Pin
Stuart Dootson16-Feb-09 23:08
professionalStuart Dootson16-Feb-09 23:08 
GeneralRe: CHttpFile->Read = not enough storage is available to process this command Pin
Psyinx17-Feb-09 0:01
Psyinx17-Feb-09 0:01 
GeneralRe: CHttpFile->Read = not enough storage is available to process this command Pin
Psyinx17-Feb-09 3:29
Psyinx17-Feb-09 3:29 
QuestionCSIDL_SYSTEM Pin
john563216-Feb-09 19:58
john563216-Feb-09 19:58 
AnswerRe: CSIDL_SYSTEM Pin
Stuart Dootson16-Feb-09 21:20
professionalStuart Dootson16-Feb-09 21:20 
AnswerRe: CSIDL_SYSTEM Pin
«_Superman_»16-Feb-09 21:21
professional«_Superman_»16-Feb-09 21:21 
QuestionNiblack binarization algorithm in c++ Pin
Bindas Samanta16-Feb-09 19:48
Bindas Samanta16-Feb-09 19:48 
AnswerRe: Niblack binarization algorithm in c++ Pin
Cedric Moonen16-Feb-09 20:34
Cedric Moonen16-Feb-09 20:34 
AnswerRe: Niblack binarization algorithm in c++ Pin
CPallini16-Feb-09 21:52
mveCPallini16-Feb-09 21:52 
QuestionShall we decrease size of Exe in MFC application ? Pin
Le@rner16-Feb-09 19:00
Le@rner16-Feb-09 19:00 

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.