Click here to Skip to main content
15,924,581 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCTime and COleDateTime Pin
Mazdak27-Sep-02 6:46
Mazdak27-Sep-02 6:46 
GeneralRe: CTime and COleDateTime Pin
jmkhael27-Sep-02 6:50
jmkhael27-Sep-02 6:50 
GeneralRe: CTime and COleDateTime Pin
Scott H. Settlemier27-Sep-02 7:37
Scott H. Settlemier27-Sep-02 7:37 
GeneralRe: CTime and COleDateTime Pin
Scott H. Settlemier27-Sep-02 7:50
Scott H. Settlemier27-Sep-02 7:50 
GeneralList view colors Pin
Shay Harel27-Sep-02 6:48
Shay Harel27-Sep-02 6:48 
GeneralRe: List view colors Pin
User 665827-Sep-02 7:00
User 665827-Sep-02 7:00 
GeneralRe: List view colors Pin
Shay Harel27-Sep-02 7:09
Shay Harel27-Sep-02 7:09 
GeneralQuestion about function parameters Pin
User 665827-Sep-02 6:39
User 665827-Sep-02 6:39 
Hi
I don't know exactly how to explain my question...I'll try it that way:

Say I have created my own class CFoo, it has a function called void CallApplication(???). I have seen classes where you could use parameters like
m_myClass.CallApplication(CFoo::Notepad);

How do I need to define my function/parameters in the class in order to let the user use parameters that way? E.g. you can use CFile like that CFile file("C:\foo.txt", CFile::typeBinary | CFile::modeRead); (I know that typeBinary is only for derived classes, I just wanted to show what my question is)

hope you understand my problem Wink | ;)

regards
Greg

modified 12-Sep-18 21:01pm.

GeneralRe: Question about function parameters Pin
jmkhael27-Sep-02 6:43
jmkhael27-Sep-02 6:43 
GeneralRe: Question about function parameters Pin
User 665827-Sep-02 6:58
User 665827-Sep-02 6:58 
GeneralRe: Question about function parameters Pin
jmkhael27-Sep-02 7:11
jmkhael27-Sep-02 7:11 
GeneralRe: Question about function parameters Pin
User 665827-Sep-02 7:18
User 665827-Sep-02 7:18 
GeneralCTreeControl images Pin
Anonymous27-Sep-02 6:35
Anonymous27-Sep-02 6:35 
GeneralRe: CTreeControl images Pin
Shay Harel27-Sep-02 6:43
Shay Harel27-Sep-02 6:43 
GeneralRe: CTreeControl images Pin
Anonymous27-Sep-02 6:46
Anonymous27-Sep-02 6:46 
GeneralRe: CTreeControl images Pin
Shay Harel27-Sep-02 6:51
Shay Harel27-Sep-02 6:51 
GeneralDisable accelerator keys temporarily Pin
bluntagain27-Sep-02 6:24
bluntagain27-Sep-02 6:24 
GeneralDisable accelerator keys temporarily Pin
bluntagain27-Sep-02 6:24
bluntagain27-Sep-02 6:24 
Generalintercepting serial port Pin
flux27-Sep-02 5:52
flux27-Sep-02 5:52 
GeneralRe: intercepting serial port Pin
Andreas Saurwein27-Sep-02 6:06
Andreas Saurwein27-Sep-02 6:06 
GeneralRe: intercepting serial port Pin
jmkhael27-Sep-02 6:08
jmkhael27-Sep-02 6:08 
GeneralRe: intercepting serial port Pin
Jon Hulatt27-Sep-02 6:28
Jon Hulatt27-Sep-02 6:28 
GeneralRe: intercepting serial port Pin
Andreas Saurwein27-Sep-02 6:35
Andreas Saurwein27-Sep-02 6:35 
Generalhourglass cursor question Pin
ns27-Sep-02 5:51
ns27-Sep-02 5:51 
GeneralRe: hourglass cursor question Pin
Andreas Saurwein27-Sep-02 6:06
Andreas Saurwein27-Sep-02 6:06 

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.