Click here to Skip to main content
15,911,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Redrawing.. Pin
L. Madhavan17-Dec-08 2:16
L. Madhavan17-Dec-08 2:16 
QuestionDisplaying painted areas on Property Sheet Pin
koumodaki17-Dec-08 0:19
koumodaki17-Dec-08 0:19 
AnswerRe: Displaying painted areas on Property Sheet Pin
Iain Clarke, Warrior Programmer17-Dec-08 0:46
Iain Clarke, Warrior Programmer17-Dec-08 0:46 
GeneralOT- Good article Iain Pin
CPallini17-Dec-08 1:36
mveCPallini17-Dec-08 1:36 
GeneralRe: OT- Good article Iain Pin
Iain Clarke, Warrior Programmer17-Dec-08 2:23
Iain Clarke, Warrior Programmer17-Dec-08 2:23 
GeneralRe: OT- Good article Iain Pin
CPallini17-Dec-08 2:39
mveCPallini17-Dec-08 2:39 
GeneralRe: Displaying painted areas on Property Sheet Pin
koumodaki17-Dec-08 2:19
koumodaki17-Dec-08 2:19 
AnswerRe: Displaying painted areas on Property Sheet Pin
Code-o-mat17-Dec-08 0:58
Code-o-mat17-Dec-08 0:58 
First, use CPaintDC in the WM_PAINT message handler, not GetDC, and second, when you do this:
GetClientRect(hStatic,&pirect);

You get the client area of the static, not its position in the client area of its parent. If you want to know where the static lies inside of its parent use some coord mapping functions or simply this:

RECT pirect;
GetWindowRect(hStatic,&pirect);
ScreenToClient(&pirect);


> The problem with computers is that they do what you tell them to do and not what you want them to do. <

GeneralRe: Displaying painted areas on Property Sheet Pin
koumodaki17-Dec-08 2:21
koumodaki17-Dec-08 2:21 
Questionhow to change the label of button of Dialog box Pin
vikas choudhry16-Dec-08 23:41
vikas choudhry16-Dec-08 23:41 
AnswerRe: how to change the label of button of Dialog box Pin
Jijo.Raj17-Dec-08 0:03
Jijo.Raj17-Dec-08 0:03 
AnswerRe: how to change the label of button of Dialog box Pin
Code-o-mat17-Dec-08 0:04
Code-o-mat17-Dec-08 0:04 
GeneralRe: how to change the label of button of Dialog box Pin
Rajib Podder17-Dec-08 22:22
Rajib Podder17-Dec-08 22:22 
GeneralRe: how to change the label of button of Dialog box Pin
Code-o-mat17-Dec-08 22:41
Code-o-mat17-Dec-08 22:41 
GeneralRe: how to change the label of button of Dialog box Pin
Rajib Podder18-Dec-08 1:07
Rajib Podder18-Dec-08 1:07 
GeneralRe: how to change the label of button of Dialog box Pin
Code-o-mat18-Dec-08 1:44
Code-o-mat18-Dec-08 1:44 
GeneralRe: how to change the label of button of Dialog box Pin
Rajib Podder18-Dec-08 17:10
Rajib Podder18-Dec-08 17:10 
GeneralRe: how to change the label of button of Dialog box Pin
Code-o-mat18-Dec-08 21:30
Code-o-mat18-Dec-08 21:30 
AnswerRe: how to change the label of button of Dialog box Pin
JudyL_MD17-Dec-08 6:02
JudyL_MD17-Dec-08 6:02 
QuestionQuery Related to Setting position of a my window above Taskbar in Vista Pin
Rahul Vaishnav16-Dec-08 22:51
Rahul Vaishnav16-Dec-08 22:51 
AnswerRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Jijo.Raj16-Dec-08 23:36
Jijo.Raj16-Dec-08 23:36 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Rahul Vaishnav17-Dec-08 0:30
Rahul Vaishnav17-Dec-08 0:30 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Iain Clarke, Warrior Programmer17-Dec-08 0:54
Iain Clarke, Warrior Programmer17-Dec-08 0:54 
GeneralRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Rahul Vaishnav17-Dec-08 1:29
Rahul Vaishnav17-Dec-08 1:29 
AnswerRe: Query Related to Setting position of a my window above Taskbar in Vista Pin
Iain Clarke, Warrior Programmer16-Dec-08 23:36
Iain Clarke, Warrior Programmer16-Dec-08 23:36 

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.