Click here to Skip to main content
15,919,479 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ASSERT...? Pin
Wolfram Steinke8-Feb-02 23:39
Wolfram Steinke8-Feb-02 23:39 
GeneralRe: ASSERT...? Pin
Sprudling9-Feb-02 5:19
Sprudling9-Feb-02 5:19 
GeneralRe: ASSERT...? Pin
alex.barylski9-Feb-02 11:07
alex.barylski9-Feb-02 11:07 
GeneralTom Armstrong's ActiveX book Pin
Phil F8-Feb-02 12:27
Phil F8-Feb-02 12:27 
GeneralRe: Tom Armstrong's ActiveX book Pin
Nish Nishant8-Feb-02 13:28
sitebuilderNish Nishant8-Feb-02 13:28 
GeneralRe: Tom Armstrong's ActiveX book Pin
Phil F8-Feb-02 14:24
Phil F8-Feb-02 14:24 
GeneralCDateTimeCtrl Pin
john john mackey8-Feb-02 11:26
john john mackey8-Feb-02 11:26 
GeneralGlobal functions Pin
RK_20008-Feb-02 11:02
RK_20008-Feb-02 11:02 
Hi there,

I was wondering what is the most delicate way of including a function that will be available to all files in a visual c mfc project?

You can off course create a header and cpp containing the function and then put the header in stdafx.h and use that all over the place.

You can dynamically cast to the parent windows in a child window and access a function defined there.

You can use include files all over the place refering to the file containing the function.

But is there any nicer way of doing this? since this is just one function call, is there a better way of doing it?
GeneralRe: Global functions Pin
Chris Losinger8-Feb-02 11:25
professionalChris Losinger8-Feb-02 11:25 
GeneralRe: Global functions Pin
Nish Nishant8-Feb-02 13:05
sitebuilderNish Nishant8-Feb-02 13:05 
GeneralRe: Global functions Pin
Christian Graus8-Feb-02 16:56
protectorChristian Graus8-Feb-02 16:56 
GeneralRe: Global functions Pin
Nish Nishant8-Feb-02 18:11
sitebuilderNish Nishant8-Feb-02 18:11 
GeneralRe: Global functions Pin
Christian Graus8-Feb-02 18:18
protectorChristian Graus8-Feb-02 18:18 
Generalresizable arrays Pin
8-Feb-02 11:00
suss8-Feb-02 11:00 
GeneralRe: resizable arrays Pin
Nemanja Trifunovic8-Feb-02 11:12
Nemanja Trifunovic8-Feb-02 11:12 
GeneralRe: resizable arrays Pin
Nish Nishant8-Feb-02 13:09
sitebuilderNish Nishant8-Feb-02 13:09 
GeneralRe: resizable arrays Pin
8-Feb-02 13:19
suss8-Feb-02 13:19 
GeneralRe: resizable arrays Pin
Nish Nishant8-Feb-02 13:18
sitebuilderNish Nishant8-Feb-02 13:18 
GeneralRe: resizable arrays Pin
8-Feb-02 14:21
suss8-Feb-02 14:21 
GeneralRe: resizable arrays Pin
Nish Nishant8-Feb-02 16:40
sitebuilderNish Nishant8-Feb-02 16:40 
GeneralRe: resizable arrays Pin
Christian Graus8-Feb-02 16:52
protectorChristian Graus8-Feb-02 16:52 
GeneralRe: resizable arrays Pin
8-Feb-02 17:34
suss8-Feb-02 17:34 
GeneralRe: resizable arrays Pin
Nish Nishant8-Feb-02 18:06
sitebuilderNish Nishant8-Feb-02 18:06 
GeneralRe: resizable arrays Pin
Christian Graus8-Feb-02 18:07
protectorChristian Graus8-Feb-02 18:07 
GeneralRe: resizable arrays Pin
Nish Nishant8-Feb-02 18:14
sitebuilderNish Nishant8-Feb-02 18:14 

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.