Click here to Skip to main content
15,906,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to display a document when clicked on sub menu for a dialog based application? Pin
puppya10-Dec-08 0:17
puppya10-Dec-08 0:17 
QuestionRe: how to display a document when clicked on sub menu for a dialog based application? Pin
VC++Maniac10-Dec-08 0:26
VC++Maniac10-Dec-08 0:26 
GeneralRe: how to display a document when clicked on sub menu for a dialog based application? Pin
puppya10-Dec-08 0:27
puppya10-Dec-08 0:27 
AnswerRe: how to display a document when clicked on sub menu for a dialog based application? Pin
VC++Maniac10-Dec-08 0:36
VC++Maniac10-Dec-08 0:36 
GeneralRe: how to display a document when clicked on sub menu for a dialog based application? Pin
puppya10-Dec-08 0:49
puppya10-Dec-08 0:49 
GeneralRe: how to display a document when clicked on sub menu for a dialog based application? Pin
VC++Maniac10-Dec-08 1:14
VC++Maniac10-Dec-08 1:14 
QuestionSingleton class Pin
Nikesh Jagtap9-Dec-08 18:32
Nikesh Jagtap9-Dec-08 18:32 
AnswerRe: Singleton class Pin
_AnsHUMAN_ 9-Dec-08 19:08
_AnsHUMAN_ 9-Dec-08 19:08 
Do you hate google? D'Oh! | :doh:
You could have searched with "Singleton C++" and would get lots of resources where you could have read from
A class whose number of instances is only one is called a singleton class. only one instance of a class can exist at any given time.
A raw class definition would be similar to what is mentioned below
class CXSingleton
{
public:
  static CXSingleton& Instance()
  {
    static CXSingleton ston;
    return ston;
  }
};

And yes there are n number of ways of implementing this

You need to google first, if you have "It's urgent please" mentioned in your question.
Wink | ;-) _AnShUmAn_

AnswerRe: Singleton class Pin
Jessn9-Dec-08 21:00
Jessn9-Dec-08 21:00 
QuestionHot key problem Pin
MsmVc9-Dec-08 17:49
MsmVc9-Dec-08 17:49 
AnswerRe: Hot key problem Pin
MsmVc9-Dec-08 20:36
MsmVc9-Dec-08 20:36 
GeneralRe: Hot key problem Pin
Code-o-mat10-Dec-08 3:18
Code-o-mat10-Dec-08 3:18 
Questionbmp image on dialog box Pin
VC++Maniac9-Dec-08 17:21
VC++Maniac9-Dec-08 17:21 
AnswerRe: bmp image on dialog box Pin
Mark Salsbery9-Dec-08 17:32
Mark Salsbery9-Dec-08 17:32 
GeneralRe: bmp image on dialog box Pin
VC++Maniac9-Dec-08 17:52
VC++Maniac9-Dec-08 17:52 
GeneralRe: bmp image on dialog box Pin
VC++Maniac9-Dec-08 18:15
VC++Maniac9-Dec-08 18:15 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 3:25
Code-o-mat10-Dec-08 3:25 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 3:45
VC++Maniac10-Dec-08 3:45 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 3:58
Code-o-mat10-Dec-08 3:58 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 4:08
VC++Maniac10-Dec-08 4:08 
GeneralRe: bmp image on dialog box Pin
Code-o-mat10-Dec-08 4:14
Code-o-mat10-Dec-08 4:14 
AnswerRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 17:30
VC++Maniac10-Dec-08 17:30 
GeneralRe: bmp image on dialog box Pin
VC++Maniac10-Dec-08 19:28
VC++Maniac10-Dec-08 19:28 
Questionhow to divide panes of status bar of dialog box into equal parts? Pin
puppya9-Dec-08 17:01
puppya9-Dec-08 17:01 
AnswerRe: how to divide panes of status bar of dialog box into equal parts? Pin
_AnsHUMAN_ 9-Dec-08 17:25
_AnsHUMAN_ 9-Dec-08 17:25 

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.