Click here to Skip to main content
15,913,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: process handle to window HWND Pin
Iain Clarke, Warrior Programmer7-Oct-02 5:35
Iain Clarke, Warrior Programmer7-Oct-02 5:35 
GeneralAdding streams and files into MSWord compound file Pin
Mariusz Popiolek7-Oct-02 4:19
sussMariusz Popiolek7-Oct-02 4:19 
QuestionHDROP??? Pin
Nitron7-Oct-02 4:19
Nitron7-Oct-02 4:19 
AnswerRe: HDROP??? Pin
jmkhael7-Oct-02 4:26
jmkhael7-Oct-02 4:26 
AnswerRe: HDROP??? Pin
Michael Dunn7-Oct-02 4:28
sitebuilderMichael Dunn7-Oct-02 4:28 
AnswerRe: HDROP??? Pin
Ravi Bhavnani7-Oct-02 4:34
professionalRavi Bhavnani7-Oct-02 4:34 
AnswerThanx! Pin
Nitron7-Oct-02 4:37
Nitron7-Oct-02 4:37 
Generalstatic function question Pin
ns7-Oct-02 3:39
ns7-Oct-02 3:39 
I want to use CListCtrl's SortItem function. MSDN says there needs to be a comparison function which has to be:

The comparison function must be either a static member of a class or a stand alone function that is not a member of any class.


1. How do I make a static function of a class?

2. If it were a standalone function, I'd declare it in the .h file before the class definition (correct?). Would that be sufficient? Or do I have to specify the prototype in the cpp file before I use it?

Appreciate your help,
ns
GeneralRe: static function question Pin
Chris Losinger7-Oct-02 3:39
professionalChris Losinger7-Oct-02 3:39 
Generalanother static member question Pin
ns7-Oct-02 3:45
ns7-Oct-02 3:45 
GeneralRe: another static member question Pin
Ravi Bhavnani7-Oct-02 4:32
professionalRavi Bhavnani7-Oct-02 4:32 
QuestionPowerPoint 2002 Automation, anyone tried ? Pin
Braulio Dez7-Oct-02 3:14
Braulio Dez7-Oct-02 3:14 
AnswerRe: PowerPoint 2002 Automation, anyone tried ? Pin
jmkhael7-Oct-02 5:18
jmkhael7-Oct-02 5:18 
GeneralRe: PowerPoint 2002 Automation, anyone tried ? Pin
Braulio Dez7-Oct-02 5:50
Braulio Dez7-Oct-02 5:50 
Questionhow to simulate the terrians? Pin
wangnanjing7-Oct-02 3:16
wangnanjing7-Oct-02 3:16 
AnswerRe: how to simulate the terrians? Pin
Chris Richardson7-Oct-02 6:48
Chris Richardson7-Oct-02 6:48 
GeneralRe: how to simulate the terrians? Pin
Maximilien7-Oct-02 7:39
Maximilien7-Oct-02 7:39 
GeneralRe: how to simulate the terrians? Pin
Chris Richardson7-Oct-02 7:41
Chris Richardson7-Oct-02 7:41 
GeneralRe: how to simulate the terrians? Pin
Mike Nordell8-Oct-02 4:49
Mike Nordell8-Oct-02 4:49 
GeneralRe: how to simulate the terrians? Pin
Chris Richardson8-Oct-02 5:53
Chris Richardson8-Oct-02 5:53 
Generalderived class, but want base class function Pin
ns7-Oct-02 3:06
ns7-Oct-02 3:06 
GeneralRe: derived class, but want base class function Pin
jhwurmbach7-Oct-02 3:23
jhwurmbach7-Oct-02 3:23 
GeneralRe: derived class, but want base class function Pin
ns7-Oct-02 3:48
ns7-Oct-02 3:48 
GeneralRe: derived class, but want base class function Pin
Daniel Lohmann7-Oct-02 3:49
Daniel Lohmann7-Oct-02 3:49 
GeneralBitmap Problem Pin
Renjith Ramachandran7-Oct-02 2:59
Renjith Ramachandran7-Oct-02 2:59 

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.