Archive: Splash dissapear on click


Splash dissapear on click
Is it possible to make the splash dissapear only when it is clicked at.

No time limit, just a click.


Thanks! ;)


Just set a really long time limit?

-Stu


Nah, I want the user to see the splash and have a look and remove it when he/she wants to.


You'd have to change Splash's source code for this. All you need to do is remove the SetTimer line, shouldn't be hard.


Hmmm, would that be this line from the splash.c file:

    SetTimer(hwnd,1,sleep_val,NULL);


I tried removing it but it didn't help. :(

Did you recompile? Have you made sure the DLL updated? Note that when compiling in Debug mode, the DLL is not written to the plug-in folder but to the Debug folder.


Yeah, I recompiled a few times but still the same.

And I don't think I compile in Debug mode, how do you do that anyway?


Just in case, how do you set a longer time limit?


Compiling in debug mode is the default. Go to Build->Set Active Configuration... and choose splash - Win32 Release.


Ummm, where do I go for that Build->Set Active Config... ? :confused:


Build menu.


Yes, but where is that menu?
I don't see it in the compiler...


And which compiler would that be?


You can increase the time limit. Just look in the Splash readme!

-Stu


Originally posted by kichik
And which compiler would that be?
Well, the only one that exists in NSIS as far as I know..

Thanks Afrow UK, I'll take a look.

NSIS doesn't come with a C compiler.


I know...

Just forget it, I'll just increase the time limit... ;)