Click here to Skip to main content
15,918,303 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows Service Pin
sanjutvm5-Apr-07 4:12
sanjutvm5-Apr-07 4:12 
AnswerRe: Windows Service Pin
Hamid_RT3-Apr-07 6:24
Hamid_RT3-Apr-07 6:24 
GeneralRe: Windows Service Pin
ThatsAlok18-Apr-07 19:41
ThatsAlok18-Apr-07 19:41 
GeneralRe: Windows Service Pin
Hamid_RT18-Apr-07 21:41
Hamid_RT18-Apr-07 21:41 
GeneralRe: Windows Service Pin
ThatsAlok18-Apr-07 22:12
ThatsAlok18-Apr-07 22:12 
GeneralRe: Windows Service Pin
Hamid_RT18-Apr-07 22:35
Hamid_RT18-Apr-07 22:35 
QuestionRe: Windows Service Pin
Mark Salsbery3-Apr-07 7:57
Mark Salsbery3-Apr-07 7:57 
AnswerRe: Windows Service Pin
Mark Salsbery3-Apr-07 8:00
Mark Salsbery3-Apr-07 8:00 
AnswerRe: Windows Service Pin
ThatsAlok18-Apr-07 19:40
ThatsAlok18-Apr-07 19:40 
QuestionHO To Lunch TaskBar Item Pin
birajendu3-Apr-07 0:26
birajendu3-Apr-07 0:26 
QuestionFunction Enquiry Pin
Programm3r3-Apr-07 0:18
Programm3r3-Apr-07 0:18 
AnswerRe: Function Enquiry Pin
Cedric Moonen3-Apr-07 1:34
Cedric Moonen3-Apr-07 1:34 
QuestionRe: Function Enquiry Pin
Programm3r3-Apr-07 2:04
Programm3r3-Apr-07 2:04 
AnswerRe: Function Enquiry Pin
Cedric Moonen3-Apr-07 2:09
Cedric Moonen3-Apr-07 2:09 
GeneralRe: Function Enquiry Pin
Programm3r3-Apr-07 2:11
Programm3r3-Apr-07 2:11 
AnswerRe: Function Enquiry Pin
CPallini3-Apr-07 1:39
mveCPallini3-Apr-07 1:39 
GeneralRe: Function Enquiry Pin
Programm3r3-Apr-07 2:09
Programm3r3-Apr-07 2:09 
GeneralRe: Function Enquiry Pin
Cedric Moonen3-Apr-07 2:13
Cedric Moonen3-Apr-07 2:13 
GeneralRe: Function Enquiry Pin
Programm3r3-Apr-07 2:22
Programm3r3-Apr-07 2:22 
QuestionRe: Function Enquiry Pin
prasad_som3-Apr-07 1:41
prasad_som3-Apr-07 1:41 
AnswerRe: Function Enquiry Pin
Programm3r3-Apr-07 2:05
Programm3r3-Apr-07 2:05 
QuestionGDI+ & MFC - Resizing problem Pin
FreeCastle2-Apr-07 23:54
FreeCastle2-Apr-07 23:54 
AnswerRe: GDI+ & MFC - Resizing problem Pin
Parthi_Appu2-Apr-07 23:59
Parthi_Appu2-Apr-07 23:59 
GeneralRe: GDI+ & MFC - Resizing problem Pin
FreeCastle3-Apr-07 1:01
FreeCastle3-Apr-07 1:01 
GeneralRe: GDI+ & MFC - Resizing problem Pin
Parthi_Appu3-Apr-07 1:15
Parthi_Appu3-Apr-07 1:15 
FreeCastle wrote:
I get the client rectangle in the OnSize message handler, and then compute the new dimensions of the two lines

No need to get the client rect in the OnSize handler. the cx and cy will give you the width and height of the window.
FreeCastle wrote:
All I do then in the OnSize()-method is a call to Invalidate

No need to call Invalidate in OnSize Handler
FreeCastle wrote:
the dimensions of the two lines are computed correctly for 100% sure

Pls provide some code, to figure out the problem



Do your Duty and Don't expect the Result
Rate this Post, if I helped You

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.