Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Click Anywhere Do Something - WinAPI?

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Click Anywhere Do Something - WinAPI?

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" wrote in message
...
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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Click Anywhere Do Something - WinAPI?

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" wrote in message
...
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.




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Click Anywhere Do Something - WinAPI?

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" wrote in message
...
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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
WinAPI Resources NateBuckley Excel Programming 8 May 16th 08 04:34 PM
Excel VBA Projects & Visual Source Safe; WinAPI, Code Librarian. Paul Martin Excel Programming 5 May 16th 05 02:23 AM
Need advice, help on creating Microsoft month calendar control using the winapi in Excel Johan De Schutter Excel Programming 0 November 22nd 04 10:10 AM
Advice, help on code using winapi and month-calendar-object of Comctl32.dll Johan De Schutter Excel Programming 0 November 19th 04 11:36 AM
WinAPI Functions solex Excel Programming 4 January 12th 04 11:35 PM


All times are GMT +1. The time now is 04:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"