Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
WinAPI Resources | Excel Programming | |||
Excel VBA Projects & Visual Source Safe; WinAPI, Code Librarian. | Excel Programming | |||
Need advice, help on creating Microsoft month calendar control using the winapi in Excel | Excel Programming | |||
Advice, help on code using winapi and month-calendar-object of Comctl32.dll | Excel Programming | |||
WinAPI Functions | Excel Programming |