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

C / C++ / MFC

 
QuestionFailed to create a mem dc which size is larger than the client window! Why? [modified] Pin
resocman9-Jun-06 16:50
resocman9-Jun-06 16:50 
AnswerRe: Failed to create a mem dc which size is larger than the client window! Why? Pin
PJ Arends9-Jun-06 17:31
professionalPJ Arends9-Jun-06 17:31 
GeneralRe: Failed to create a mem dc which size is larger than the client window! Why? Pin
resocman9-Jun-06 17:50
resocman9-Jun-06 17:50 
AnswerRe: Failed to create a mem dc which size is larger than the client window! Why? Pin
bob169729-Jun-06 17:45
bob169729-Jun-06 17:45 
GeneralRe: Failed to create a mem dc which size is larger than the client window! Why? [modified] Pin
resocman9-Jun-06 18:54
resocman9-Jun-06 18:54 
Questiontaskbar icon Pin
jag109-Jun-06 11:00
jag109-Jun-06 11:00 
AnswerRe: taskbar icon Pin
bob169729-Jun-06 18:03
bob169729-Jun-06 18:03 
QuestionSubclassing a picture control Pin
llp00na9-Jun-06 10:04
llp00na9-Jun-06 10:04 
Dear all;

I am trying to make some drawings on a dialog based application. As far as i have understood, its better to place a Static control and draw on it instead of directly drawing on top of the dialog.

As i am trying to achieve this, i am a little bit confused and gona be needing some of your help.

I have added a picture control to my dialog and created a member variable for it of type CStatic. Now I need to subclass the picture control in which i will be overriding the OnPaint() function. I do not know how to perform this subclassing D'Oh! | :doh: ?

Thanx

llp00na
AnswerRe: Subclassing a picture control Pin
BlackDice9-Jun-06 11:30
BlackDice9-Jun-06 11:30 
QuestionVS Class Wizard Problem Pin
Jethro639-Jun-06 10:00
Jethro639-Jun-06 10:00 
AnswerRe: VS Class Wizard Problem Pin
bob169729-Jun-06 18:09
bob169729-Jun-06 18:09 
QuestionUse a Web Browser to Call Command Shell in CGI C++ Pin
Lynniz9-Jun-06 9:43
Lynniz9-Jun-06 9:43 
QuestionRe: Use a Web Browser to Call Command Shell in CGI C++ Pin
David Crow9-Jun-06 10:28
David Crow9-Jun-06 10:28 
QuestionRe: Use a Web Browser to Call Command Shell in CGI C++ Pin
Lynniz9-Jun-06 10:58
Lynniz9-Jun-06 10:58 
AnswerRe: Use a Web Browser to Call Command Shell in CGI C++ Pin
David Crow9-Jun-06 11:03
David Crow9-Jun-06 11:03 
AnswerRe: Use a Web Browser to Call Command Shell in CGI C++ Pin
Nemanja Trifunovic10-Jun-06 14:23
Nemanja Trifunovic10-Jun-06 14:23 
GeneralRe: Use a Web Browser to Call Command Shell in CGI C++ [modified] Pin
Lynniz12-Jun-06 1:51
Lynniz12-Jun-06 1:51 
Questionclearing a CDC Pin
ns9-Jun-06 9:34
ns9-Jun-06 9:34 
AnswerRe: clearing a CDC Pin
Cedric Moonen9-Jun-06 10:04
Cedric Moonen9-Jun-06 10:04 
GeneralRe: clearing a CDC Pin
bob169729-Jun-06 17:13
bob169729-Jun-06 17:13 
Questionstack question? Pin
G_S9-Jun-06 9:22
G_S9-Jun-06 9:22 
AnswerRe: stack question? Pin
David Crow9-Jun-06 10:26
David Crow9-Jun-06 10:26 
QuestionDefining my own escape sequences? Pin
CoffeeAddict199-Jun-06 7:26
CoffeeAddict199-Jun-06 7:26 
QuestionRe: Defining my own escape sequences? Pin
David Crow9-Jun-06 7:53
David Crow9-Jun-06 7:53 
AnswerRe: Defining my own escape sequences? [modified] Pin
CoffeeAddict199-Jun-06 8:15
CoffeeAddict199-Jun-06 8: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.