Click here to Skip to main content
15,881,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart15-Sep-09 6:09
Neil Urquhart15-Sep-09 6:09 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Code-o-mat15-Sep-09 6:13
Code-o-mat15-Sep-09 6:13 
AnswerRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog [modified] Pin
Moak15-Sep-09 14:09
Moak15-Sep-09 14:09 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart15-Sep-09 20:04
Neil Urquhart15-Sep-09 20:04 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart15-Sep-09 20:57
Neil Urquhart15-Sep-09 20:57 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Moak15-Sep-09 23:21
Moak15-Sep-09 23:21 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart16-Sep-09 2:53
Neil Urquhart16-Sep-09 2:53 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Moak16-Sep-09 3:19
Moak16-Sep-09 3:19 
Neil, are you sure the second example works reliable? I wonder because, it does nothing regarding client-parent hierachy, SetParent(this) in a dialog just sets the existing parent again.

If you want the dialog to receive notifications from the buttons use SetOwner(this) additional to SetParent(pImage). Alternatively, let the image control handle the button clicks.

Cheers
/M


GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart16-Sep-09 3:56
Neil Urquhart16-Sep-09 3:56 
QuestionRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Moak16-Sep-09 4:21
Moak16-Sep-09 4:21 
AnswerRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Neil Urquhart16-Sep-09 4:41
Neil Urquhart16-Sep-09 4:41 
GeneralRe: How can I force the redraw of buttons which overlay a picture bitmap in a Dialog Pin
Moak16-Sep-09 5:12
Moak16-Sep-09 5:12 
QuestionI want to know which os am using from C code.Is it is possible? Pin
mohant$.net15-Sep-09 2:20
mohant$.net15-Sep-09 2:20 
QuestionRe: I want to know which os am using from C code.Is it is possible? Pin
David Crow15-Sep-09 2:36
David Crow15-Sep-09 2:36 
JokeRe: I want to know which os am using from C code.Is it is possible? Pin
CPallini15-Sep-09 2:46
mveCPallini15-Sep-09 2:46 
GeneralRe: I want to know which os am using from C code.Is it is possible? Pin
mohant$.net15-Sep-09 3:17
mohant$.net15-Sep-09 3:17 
GeneralRe: I want to know which os am using from C code.Is it is possible? Pin
CPallini15-Sep-09 3:30
mveCPallini15-Sep-09 3:30 
GeneralRe: I want to know which os am using from C code.Is it is possible? Pin
Stuart Dootson15-Sep-09 7:07
professionalStuart Dootson15-Sep-09 7:07 
AnswerRe: I want to know which os am using from C code.Is it is possible? Pin
Moak15-Sep-09 23:26
Moak15-Sep-09 23:26 
QuestionGet pixel data from PBITMAPINFO struct? Pin
Sauce!15-Sep-09 2:15
Sauce!15-Sep-09 2:15 
AnswerRe: Get pixel data from PBITMAPINFO struct? [modified] Pin
CPallini15-Sep-09 2:31
mveCPallini15-Sep-09 2:31 
GeneralRe: Get pixel data from PBITMAPINFO struct? Pin
Sauce!15-Sep-09 2:58
Sauce!15-Sep-09 2:58 
QuestionMS Word document creating Pin
Igor IP15-Sep-09 1:41
professionalIgor IP15-Sep-09 1:41 
AnswerRe: MS Word document creating Pin
Stuart Dootson15-Sep-09 1:56
professionalStuart Dootson15-Sep-09 1:56 
GeneralRe: MS Word document creating Pin
Igor IP15-Sep-09 2:02
professionalIgor IP15-Sep-09 2:02 

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.