Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: USB communication class Pin
Felix Gartsman12-Mar-04 4:36
Felix Gartsman12-Mar-04 4:36 
GeneralRe: USB communication class Pin
Felix Gartsman12-Mar-04 5:10
Felix Gartsman12-Mar-04 5:10 
QuestionHow to check whether a file is already open Pin
Deepak Samuel11-Mar-04 22:57
Deepak Samuel11-Mar-04 22:57 
AnswerRe: How to check whether a file is already open Pin
David Crow12-Mar-04 2:25
David Crow12-Mar-04 2:25 
AnswerRe: How to check whether a file is already open Pin
Garth J Lancaster12-Mar-04 12:14
professionalGarth J Lancaster12-Mar-04 12:14 
GeneralOpenGL texturing problem Pin
zeno8111-Mar-04 22:26
zeno8111-Mar-04 22:26 
GeneralSource code Prunning Pin
axid3j1al11-Mar-04 21:35
axid3j1al11-Mar-04 21:35 
GeneralRe: Source code Prunning Pin
Steve S12-Mar-04 0:25
Steve S12-Mar-04 0:25 
Lots of questions;
1. No, there is no tool with VC++, you'd need to use some kind of code coverage tool to achieve that, and it wouldn't colour-code.

2. ClassWizard will delete some stuff, if you let it.

3. Depends. Can't speak for everyone else, but I keep document data in the document. The overhead involved in typing disappears at run-time, and the overhead of an extra dereference is worth the encapsulation benefits.
You aren't really an O-O person, are you? Smile | :)

4. If your UI requires a lot of changes, you haven't spent enough time on the design.

5. Yes, lots of small testbed applications. Otherwise how can you be sure it's not an issue with side-effects from something else.

6. SourceSafe works fine, if you accept the fact that it doesn't handle branching in a useful way (i.e. 1.1.2 and 1.2 "in parallel")

7. Simple. No regeneratable files go into the repository, so no NCB, CLW, APS etc, and no MIDL generated files either. Proper rules, and enforcement.

8. Because it doesn't work that way. OnEraseBkgrnd does "what it says on the tin". You aren't using SetBkColor to change the background of a control, mostly. If you do your own drawing you will, and if you handle WM_CTLCOLORxxxx you can but that's because of a design feature (callback) rather than "the way it's done everywhere else".

9. Control placement is your responsibility for anything other than a dialog. If you want to use a dialog template to set up controls in a simple view, I don't see anyone stopping you. You could use ideas and code from sites like this one.

10. Can't speak for everyone else, but I know two or three well, and the
environments I work in quite well too. I don't know MFC inside out, but I know it well enough to navigate the documentation and source code.

'Nuff said.


Steve S
Please do not feed the troll - it bites back
Generaldo you use new()?please instruct me! Pin
vividtang11-Mar-04 21:31
vividtang11-Mar-04 21:31 
GeneralRe: do you use new()?please instruct me! Pin
toxcct11-Mar-04 21:48
toxcct11-Mar-04 21:48 
GeneralRe: do you use new()?please instruct me! Pin
jhwurmbach11-Mar-04 22:15
jhwurmbach11-Mar-04 22:15 
GeneralRe: do you use new()?please instruct me! Pin
vividtang12-Mar-04 0:22
vividtang12-Mar-04 0:22 
GeneralRe: do you use new()?please instruct me! Pin
jhwurmbach12-Mar-04 0:24
jhwurmbach12-Mar-04 0:24 
GeneralRe: do you use new()?please instruct me! Pin
vividtang12-Mar-04 16:21
vividtang12-Mar-04 16:21 
GeneralRe: do you use new()?please instruct me! Pin
vividtang12-Mar-04 16:33
vividtang12-Mar-04 16:33 
GeneralTAPI Pin
chen_chen121211-Mar-04 20:51
chen_chen121211-Mar-04 20:51 
GeneralRe: TAPI Pin
Michael P Butler11-Mar-04 21:29
Michael P Butler11-Mar-04 21:29 
GeneralLanguage bar like app (IME) help pls Pin
Bagoj11-Mar-04 20:38
Bagoj11-Mar-04 20:38 
GeneralA question about asycfilt.dll Pin
Atif Mushtaq11-Mar-04 20:11
Atif Mushtaq11-Mar-04 20:11 
GeneralAccess Violation during Excel Automation Pin
Ajay Mudgal11-Mar-04 19:52
Ajay Mudgal11-Mar-04 19:52 
GeneralPlugin Frameworks Pin
Tarundeep Singh Kalra11-Mar-04 19:46
Tarundeep Singh Kalra11-Mar-04 19:46 
GeneralRe: Plugin Frameworks Pin
Florin Ochiana11-Mar-04 23:27
Florin Ochiana11-Mar-04 23:27 
GeneralRe: Plugin Frameworks Pin
Roger Allen12-Mar-04 1:05
Roger Allen12-Mar-04 1:05 
GeneralCCriticalSection Object frezee Pin
Do Manh Hung11-Mar-04 19:40
Do Manh Hung11-Mar-04 19:40 
GeneralRe: CCriticalSection Object frezee Pin
Neville Franks11-Mar-04 22:19
Neville Franks11-Mar-04 22:19 

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.