Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVS make files Pin
will138322-Oct-02 2:58
will138322-Oct-02 2:58 
Generalstring Pin
wong190722-Oct-02 2:25
wong190722-Oct-02 2:25 
GeneralRe: string Pin
Nitron22-Oct-02 8:10
Nitron22-Oct-02 8:10 
GeneralRe: string Pin
valikac22-Oct-02 10:24
valikac22-Oct-02 10:24 
Generalsplash screen not disappearing on win98 Pin
ns22-Oct-02 2:19
ns22-Oct-02 2:19 
GeneralRe: splash screen not disappearing on win98 Pin
benjymous22-Oct-02 2:57
benjymous22-Oct-02 2:57 
GeneralRe: splash screen not disappearing on win98 Pin
ns22-Oct-02 3:36
ns22-Oct-02 3:36 
GeneralRe: splash screen not disappearing on win98 Pin
benjymous22-Oct-02 4:02
benjymous22-Oct-02 4:02 
Ahh, so I guess you've currently got something like

MyClass::MyFunction()
{
  CSplashScreen Splash;  // the splashscreen object
  

  ..do your startup processing here..
  

}


The Splash object should automatically get deleted at the end of the function, when it goes out of scope, but for some reason it isn't.

Instead, try changing it to:

MyClass::MyFunction()
{
  CSplashScreen* pSplash;  // the splashscreen object
  pSplash = new CSplashScreen;
  

  ..do your startup processing here..


  delete pSplash;
}


(I.e. you now have full control over the creation and destruction of the splash screen object, which should force it to close when you want it to)

--
Help me! I'm turning into a grapefruit!

GeneralRe: splash screen not disappearing on win98 Pin
ns22-Oct-02 4:16
ns22-Oct-02 4:16 
Questionany helpful links for this? Pin
ns22-Oct-02 2:12
ns22-Oct-02 2:12 
AnswerRe: any helpful links for this? Pin
Daniel Turini22-Oct-02 2:17
Daniel Turini22-Oct-02 2:17 
GeneralRe: any helpful links for this? Pin
ns22-Oct-02 2:23
ns22-Oct-02 2:23 
GeneralRe: any helpful links for this? Pin
benjymous22-Oct-02 3:01
benjymous22-Oct-02 3:01 
GeneralRe: any helpful links for this? Pin
ns22-Oct-02 3:33
ns22-Oct-02 3:33 
AnswerRe: any helpful links for this? Pin
Ravi Bhavnani22-Oct-02 4:18
professionalRavi Bhavnani22-Oct-02 4:18 
GeneralRe: any helpful links for this? Pin
ns22-Oct-02 7:41
ns22-Oct-02 7:41 
GeneralRe: any helpful links for this? Pin
Ravi Bhavnani22-Oct-02 8:05
professionalRavi Bhavnani22-Oct-02 8:05 
GeneralRe: any helpful links for this? Pin
Anonymous23-Oct-02 1:58
Anonymous23-Oct-02 1:58 
GeneralRe: any helpful links for this? Pin
Ravi Bhavnani23-Oct-02 5:37
professionalRavi Bhavnani23-Oct-02 5:37 
GeneralListCtrl Ownder Draw problem Pin
Yaron Nir22-Oct-02 1:18
Yaron Nir22-Oct-02 1:18 
GeneralDisconnecting a VC++ project from Source-Safe Pin
Michael P Butler22-Oct-02 0:56
Michael P Butler22-Oct-02 0:56 
GeneralRe: Disconnecting a VC++ project from Source-Safe Pin
Christian Graus22-Oct-02 1:02
protectorChristian Graus22-Oct-02 1:02 
GeneralRe: Disconnecting a VC++ project from Source-Safe Pin
Stephane Rodriguez.22-Oct-02 1:29
Stephane Rodriguez.22-Oct-02 1:29 
GeneralRe: Disconnecting a VC++ project from Source-Safe Pin
Michael P Butler22-Oct-02 2:15
Michael P Butler22-Oct-02 2:15 
GeneralRe: Disconnecting a VC++ project from Source-Safe Pin
Danoo22-Oct-02 2:20
Danoo22-Oct-02 2:20 

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.