PC Review


Reply
Thread Tools Rate Thread

Click Anywhere Do Something - WinAPI?

 
 
NateBuckley
Guest
Posts: n/a
 
      8th Aug 2008
Greetings.

I have a splash screen (userform) that fades in, and when clicked on fades
out (using WinAPI calls).

My question is, at the moment the user has to click on the splash screen to
begin the fade out process (the splash screen contains contact information
that may be useful so didn't want it too appear and then vanish without user
interaction) just wondering if anyone knows a way where no matter where the
user clicks it will vanish?

Not an urgent problem, but pondering if anyone can set me on the right line,
perhaps just tell me the WinAPI call that may be required, or perhaps this
can be done with VBA?

Extra note, when the user clicks on the form that uses the userform_click
event and simply turns a boolean from false to true (hasClicked) this checked
with a winApi timer.

Cheers for any advice shuffled this way.
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      8th Aug 2008
Doesn't sound a good idea to me. What if they idly click whilst it is fading
in, that will register and trigger the fade out.

Better to make it an explicit click on the form.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"NateBuckley" <(E-Mail Removed)> wrote in message
news:315FD2D0-0A6A-4618-B7D0-(E-Mail Removed)...
> Greetings.
>
> I have a splash screen (userform) that fades in, and when clicked on fades
> out (using WinAPI calls).
>
> My question is, at the moment the user has to click on the splash screen
> to
> begin the fade out process (the splash screen contains contact information
> that may be useful so didn't want it too appear and then vanish without
> user
> interaction) just wondering if anyone knows a way where no matter where
> the
> user clicks it will vanish?
>
> Not an urgent problem, but pondering if anyone can set me on the right
> line,
> perhaps just tell me the WinAPI call that may be required, or perhaps this
> can be done with VBA?
>
> Extra note, when the user clicks on the form that uses the userform_click
> event and simply turns a boolean from false to true (hasClicked) this
> checked
> with a winApi timer.
>
> Cheers for any advice shuffled this way.



 
Reply With Quote
 
NateBuckley
Guest
Posts: n/a
 
      8th Aug 2008
Cheers, hadn't gone over that thought.

Thanks I shall leave it as it is.

"Bob Phillips" wrote:

> Doesn't sound a good idea to me. What if they idly click whilst it is fading
> in, that will register and trigger the fade out.
>
> Better to make it an explicit click on the form.
>
> --
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
> "NateBuckley" <(E-Mail Removed)> wrote in message
> news:315FD2D0-0A6A-4618-B7D0-(E-Mail Removed)...
> > Greetings.
> >
> > I have a splash screen (userform) that fades in, and when clicked on fades
> > out (using WinAPI calls).
> >
> > My question is, at the moment the user has to click on the splash screen
> > to
> > begin the fade out process (the splash screen contains contact information
> > that may be useful so didn't want it too appear and then vanish without
> > user
> > interaction) just wondering if anyone knows a way where no matter where
> > the
> > user clicks it will vanish?
> >
> > Not an urgent problem, but pondering if anyone can set me on the right
> > line,
> > perhaps just tell me the WinAPI call that may be required, or perhaps this
> > can be done with VBA?
> >
> > Extra note, when the user clicks on the form that uses the userform_click
> > event and simply turns a boolean from false to true (hasClicked) this
> > checked
> > with a winApi timer.
> >
> > Cheers for any advice shuffled this way.

>
>
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      8th Aug 2008
I think that is the best option, after all it isn't that big an imposition,
and the form is there for a specific purpose.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"NateBuckley" <(E-Mail Removed)> wrote in message
news:179D0D0B-A01F-44F2-AAA2-(E-Mail Removed)...
> Cheers, hadn't gone over that thought.
>
> Thanks I shall leave it as it is.
>
> "Bob Phillips" wrote:
>
>> Doesn't sound a good idea to me. What if they idly click whilst it is
>> fading
>> in, that will register and trigger the fade out.
>>
>> Better to make it an explicit click on the form.
>>
>> --
>> HTH
>>
>> Bob
>>
>> (there's no email, no snail mail, but somewhere should be gmail in my
>> addy)
>>
>> "NateBuckley" <(E-Mail Removed)> wrote in message
>> news:315FD2D0-0A6A-4618-B7D0-(E-Mail Removed)...
>> > Greetings.
>> >
>> > I have a splash screen (userform) that fades in, and when clicked on
>> > fades
>> > out (using WinAPI calls).
>> >
>> > My question is, at the moment the user has to click on the splash
>> > screen
>> > to
>> > begin the fade out process (the splash screen contains contact
>> > information
>> > that may be useful so didn't want it too appear and then vanish without
>> > user
>> > interaction) just wondering if anyone knows a way where no matter where
>> > the
>> > user clicks it will vanish?
>> >
>> > Not an urgent problem, but pondering if anyone can set me on the right
>> > line,
>> > perhaps just tell me the WinAPI call that may be required, or perhaps
>> > this
>> > can be done with VBA?
>> >
>> > Extra note, when the user clicks on the form that uses the
>> > userform_click
>> > event and simply turns a boolean from false to true (hasClicked) this
>> > checked
>> > with a winApi timer.
>> >
>> > Cheers for any advice shuffled this way.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WinAPI Resources NateBuckley Microsoft Excel Programming 8 16th May 2008 04:34 PM
WinAPI - LogonUser() =?Utf-8?B?RFZQLURC?= Microsoft Windows 2000 Developer 0 12th May 2005 03:22 PM
WinAPI Functions solex Microsoft Excel Programming 5 13th Jan 2004 11:55 AM
WINAPI CALL Qindong Zhang Microsoft VB .NET 1 7th Jan 2004 04:57 PM
WinAPI Viewer Tom McLaughlin Microsoft VB .NET 3 11th Dec 2003 08:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:13 PM.