Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDLL resetting my globals between function calls? Pin
TheGimp21-Nov-07 15:59
TheGimp21-Nov-07 15:59 
AnswerRe: DLL resetting my globals between function calls? Pin
Malli_S21-Nov-07 18:32
Malli_S21-Nov-07 18:32 
QuestionHow to disable toolbar Pin
Max++21-Nov-07 15:34
Max++21-Nov-07 15:34 
AnswerRe: How to disable toolbar Pin
Paresh Chitte21-Nov-07 17:26
Paresh Chitte21-Nov-07 17:26 
QuestionHow to change the property of a modem connection in WINXP?(Problem with RAS) Pin
hizfp21-Nov-07 15:00
hizfp21-Nov-07 15:00 
AnswerRe: How to change the property of a modem connection in WINXP?(Problem with RAS) Pin
hizfp22-Nov-07 16:15
hizfp22-Nov-07 16:15 
QuestionPrint Edit control!!! Pin
Gofur Halmurat21-Nov-07 8:53
Gofur Halmurat21-Nov-07 8:53 
AnswerRe: Print Edit control!!! Pin
bob1697221-Nov-07 9:19
bob1697221-Nov-07 9:19 
You will get the best results and not have to worry about if the text is scrolled off the CEdit control if you get the text and use CDC::TextOut or CDC::DrawText. However, I find most people have a negative reaction to that suggestion so if your determined to literally print the CEdit to a device context, CWnd::Print should do the job.

Just be forwarned, if you don't modify something (viewport extents, windows extents, etc...) in an appropriate mapping mode, it's gonna come out really, really, tiny on your printer. The best way to save a tree is to output your print tests to an Adobe Acrobat, PrimoPDF , or that new snazzy Vista XML print driver to see the results. That way you can zoom in really, really close to verify my statement.

After that you can experiment until way after Thanksgiving trying everything you can think of to get around all the pitfalls associated with trying to print a CEdit control (reliably) in all possible contexts and scenarios until you are ready to pull your hair out.

At that point, you can go back to my first suggestion and use TextOut or DrawText and smile once again knowing you did the right thing.

Big Grin | :-D
AnswerRe: Print Edit control!!! Pin
Hamid_RT21-Nov-07 19:05
Hamid_RT21-Nov-07 19:05 
QuestionWhy do my Controls flicker ? (src incl.) Pin
abiemann21-Nov-07 7:44
abiemann21-Nov-07 7:44 
AnswerRe: Why do my Controls flicker ? (src incl.) Pin
Mark Salsbery21-Nov-07 9:49
Mark Salsbery21-Nov-07 9:49 
QuestionProject cache file of 42meg - deleting/denying Pin
syscwl21-Nov-07 4:41
syscwl21-Nov-07 4:41 
Generaltypedef tweak Pin
LiYS21-Nov-07 4:28
LiYS21-Nov-07 4:28 
GeneralRe: typedef tweak Pin
led mike21-Nov-07 4:40
led mike21-Nov-07 4:40 
GeneralRe: typedef tweak Pin
jhwurmbach21-Nov-07 6:15
jhwurmbach21-Nov-07 6:15 
GeneralRe: typedef tweak Pin
led mike21-Nov-07 6:33
led mike21-Nov-07 6:33 
GeneralRe: typedef tweak Pin
jhwurmbach21-Nov-07 6:37
jhwurmbach21-Nov-07 6:37 
GeneralRe: typedef tweak Pin
Mark Salsbery21-Nov-07 7:00
Mark Salsbery21-Nov-07 7:00 
GeneralRe: typedef tweak Pin
led mike21-Nov-07 9:01
led mike21-Nov-07 9:01 
GeneralRe: typedef tweak Pin
Mark Salsbery21-Nov-07 6:57
Mark Salsbery21-Nov-07 6:57 
AnswerRe: typedef tweak Pin
Nathan Holt at EMOM21-Nov-07 10:49
Nathan Holt at EMOM21-Nov-07 10:49 
GeneralRe: typedef tweak Pin
LiYS21-Nov-07 17:41
LiYS21-Nov-07 17:41 
QuestionDoes it take much time to do such a user interface? Pin
followait21-Nov-07 4:24
followait21-Nov-07 4:24 
AnswerRe: Does it take much time to do such a user interface? Pin
led mike21-Nov-07 4:35
led mike21-Nov-07 4:35 
GeneralRe: Does it take much time to do such a user interface? Pin
followait21-Nov-07 4:38
followait21-Nov-07 4:38 

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.