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

C / C++ / MFC

 
GeneralRe: how to get rid of system menu (right cross) in CFileDialog Pin
ns17-Sep-02 9:33
ns17-Sep-02 9:33 
Generalextern structure problems Pin
jimNLX17-Sep-02 7:34
jimNLX17-Sep-02 7:34 
GeneralRe: extern structure problems Pin
jmkhael17-Sep-02 8:36
jmkhael17-Sep-02 8:36 
GeneralRe: extern structure problems Pin
jimNLX17-Sep-02 11:37
jimNLX17-Sep-02 11:37 
GeneralVisualStudio - ClassView / Gloabs : missed functions Pin
Lockhart17-Sep-02 6:29
Lockhart17-Sep-02 6:29 
GeneralRe: VisualStudio - ClassView / Gloabs : missed functions Pin
Joaquín M López Muñoz17-Sep-02 6:39
Joaquín M López Muñoz17-Sep-02 6:39 
GeneralRe: VisualStudio - ClassView / Gloabs : missed functions Pin
Lockhart17-Sep-02 7:34
Lockhart17-Sep-02 7:34 
GeneralRe: VisualStudio - ClassView / Gloabs : missed functions Pin
TyMatthews17-Sep-02 8:51
TyMatthews17-Sep-02 8:51 
You could write dummy functions that fool ClassView into thinking your project implements them, but that the compiler ignores. Put the functions in some cpp file and wrap them like this:

#ifdef _SOME_DEFINE_THAT_IS_NEVER_DEFINED_
float ngn_sign(float f)
{
}
#endif  // #ifdef _SOME_DEFINE_THAT_IS_NEVER_DEFINED_

</code>


ClassView will now show them under Globals, because ClassView doesn't care about preprocessor directives like that. The compiler does, of course, and that code will never be included so long as you don't actually define the tag.

Ty


"The significant problems we face cannot be solved at the same level of thinking we were at when we created them." -Albert Einstein


GeneralRe: VisualStudio - ClassView / Gloabs : missed functions Pin
Lockhart17-Sep-02 10:51
Lockhart17-Sep-02 10:51 
QuestionHow to programmatically disable network card Pin
Jonathan Gilligan17-Sep-02 6:27
Jonathan Gilligan17-Sep-02 6:27 
AnswerRe: How to programmatically disable network card Pin
jmkhael17-Sep-02 6:38
jmkhael17-Sep-02 6:38 
AnswerRe: How to programmatically disable network card Pin
TyMatthews17-Sep-02 9:04
TyMatthews17-Sep-02 9:04 
GeneralRe: How to programmatically disable network card Pin
Jonathan Gilligan17-Sep-02 9:42
Jonathan Gilligan17-Sep-02 9:42 
GeneralRe: How to programmatically disable network card Pin
TyMatthews18-Sep-02 4:42
TyMatthews18-Sep-02 4:42 
GeneralRe: How to programmatically disable network card Pin
Jonathan Gilligan18-Sep-02 6:05
Jonathan Gilligan18-Sep-02 6:05 
GeneralRe: How to programmatically disable network card Pin
TyMatthews18-Sep-02 6:09
TyMatthews18-Sep-02 6:09 
AnswerRe: How to programmatically disable network card Pin
PJ Arends17-Sep-02 14:57
professionalPJ Arends17-Sep-02 14:57 
GeneralDataExchange Pin
Steve Daly17-Sep-02 5:52
Steve Daly17-Sep-02 5:52 
GeneralRe: DataExchange Pin
Joaquín M López Muñoz17-Sep-02 6:11
Joaquín M López Muñoz17-Sep-02 6:11 
QuestionSystem tray ALERTS ?? Pin
petrol17-Sep-02 5:40
petrol17-Sep-02 5:40 
AnswerRe: System tray ALERTS ?? Pin
jmkhael17-Sep-02 6:42
jmkhael17-Sep-02 6:42 
GeneralMFC42.dll Pin
orcun colak17-Sep-02 5:26
orcun colak17-Sep-02 5:26 
GeneralRe: MFC42.dll Pin
Pavel Klocek17-Sep-02 6:39
Pavel Klocek17-Sep-02 6:39 
GeneralUpdating and changing Title Bar in Application Pin
oRion17-Sep-02 5:21
oRion17-Sep-02 5:21 
GeneralRe: Updating and changing Title Bar in Application Pin
jmkhael17-Sep-02 6:35
jmkhael17-Sep-02 6:35 

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.