Click here to Skip to main content
15,887,296 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: help me, help me, help me, my headache, how to retrieving hicon through the name of system folder, for ins. the name of "my computer" Pin
Ahmed Charfeddine31-Dec-09 2:32
Ahmed Charfeddine31-Dec-09 2:32 
AnswerRe: help me, help me, help me, my headache, how to retrieving hicon through the name of system folder, for ins. the name of "my computer" Pin
Gary R. Wheeler31-Dec-09 5:15
Gary R. Wheeler31-Dec-09 5:15 
QuestionConditional Check Box in Dialog List Pin
itkid30-Dec-09 21:37
itkid30-Dec-09 21:37 
AnswerRe: Conditional Check Box in Dialog List Pin
Abhi Lahare31-Dec-09 4:36
Abhi Lahare31-Dec-09 4:36 
GeneralRe: Conditional Check Box in Dialog List Pin
itkid3-Jan-10 17:53
itkid3-Jan-10 17:53 
QuestionSome times Print function not working. Pin
Le@rner30-Dec-09 19:58
Le@rner30-Dec-09 19:58 
AnswerRe: Some times Print function not working. Pin
David Crow31-Dec-09 8:48
David Crow31-Dec-09 8:48 
AnswerRe: Some times Print function not working. Pin
Nelek2-Jan-10 23:50
protectorNelek2-Jan-10 23:50 
In addition to David Crow's answer, there are much more things going on than just calling the functions.

You also have OnPreparePrinting , OnPrepareDC and many other things working in a depper part, that you don't code directly.

If you need to restart your machine in order to make it working another time, one cause could be a bad use of CDC, so it gets problems and it doesn't work until the OS is started another time.

I strongly recommend you to go step by step in printing, there is a lot of things to consider and that can give problems. Here in codeproject you can find some very good articles about printing, take a look on them.

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.

GeneralRe: Some times Print function not working. Pin
Le@rner3-Jan-10 23:31
Le@rner3-Jan-10 23:31 
GeneralRe: Some times Print function not working. Pin
Nelek4-Jan-10 11:07
protectorNelek4-Jan-10 11:07 
QuestionIts is possible to hide vertical scrollbar of printpreview window? Pin
Le@rner30-Dec-09 19:55
Le@rner30-Dec-09 19:55 
QuestionBalloonToolTip [modified] Pin
S p k 52130-Dec-09 16:41
S p k 52130-Dec-09 16:41 
Question#define how to use with is code ? Pin
krish_kumar30-Dec-09 15:56
krish_kumar30-Dec-09 15:56 
AnswerRe: #define how to use with is code ? Pin
Maxwell Chen30-Dec-09 16:16
Maxwell Chen30-Dec-09 16:16 
GeneralRe: #define how to use with is code ? Pin
krish_kumar30-Dec-09 16:30
krish_kumar30-Dec-09 16:30 
GeneralRe: #define how to use with is code ? Pin
Maxwell Chen30-Dec-09 16:36
Maxwell Chen30-Dec-09 16:36 
GeneralRe: #define how to use with is code ? Pin
David Crow30-Dec-09 17:12
David Crow30-Dec-09 17:12 
GeneralRe: #define how to use with is code ? Pin
krish_kumar30-Dec-09 18:17
krish_kumar30-Dec-09 18:17 
GeneralRe: #define how to use with is code ? Pin
Maxwell Chen30-Dec-09 19:46
Maxwell Chen30-Dec-09 19:46 
AnswerRe: #define how to use with is code ? Pin
David Crow31-Dec-09 8:44
David Crow31-Dec-09 8:44 
Questionlibrary linking error Pin
noalias___30-Dec-09 11:44
noalias___30-Dec-09 11:44 
AnswerRe: library linking error Pin
Migounette30-Dec-09 13:12
Migounette30-Dec-09 13:12 
GeneralRe: library linking error Pin
noalias___31-Dec-09 6:13
noalias___31-Dec-09 6:13 
QuestionJust a minor KMDF concern Pin
Mattzimmerer30-Dec-09 10:47
Mattzimmerer30-Dec-09 10:47 
AnswerRe: Just a minor KMDF concern Pin
JudyL_MD30-Dec-09 11:10
JudyL_MD30-Dec-09 11:10 

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.