Click here to Skip to main content
15,921,467 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 
FreeCastle wrote:
I do this by overriding the OnSize message handler of MFC and I then just get the client rectangle of the dialog and then draw the lines with this new rectangle applied.


By this i understood that you are drawing the lines in OnSize handler..if then its wrong.

Draw the lines in OnPaint handler, the framewrok will call the OnPaint handler after the window got resized. So, in OnPaint handler, get the client rect and draw the lines


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

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 

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.