-
Sep 22nd, 2023, 11:06 AM
#1
Thread Starter
Junior Member
Captures Mouse Click on the Taskbar Icon.
Hi guys, it seems like a stupid question but I'm having difficulty capturing the mouse click event on the taskbar icon of one of my form. is anyone aware...or rather is there a way to capture this event? Thanks.
-
Sep 22nd, 2023, 11:51 AM
#2
Thread Starter
Junior Member
Re: Captures Mouse Click on the Taskbar Icon.
OK I Fix with the messages of "WM_SYSCOMMAND" with the precision in request to the command of "SC_MINIMIZE" & "SC_RESTORE".
-
Sep 22nd, 2023, 12:16 PM
#3
Re: Captures Mouse Click on the Taskbar Icon.
You just want your app to react to WindowState changing? You could use your Forms Resize event, and check WindowState…
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Sep 22nd, 2023, 01:01 PM
#4
Thread Starter
Junior Member
Re: Captures Mouse Click on the Taskbar Icon.
 Originally Posted by .paul.
You just want your app to react to WindowState changing? You could use your Forms Resize event, and check WindowState…
No that wasn't right, the event must occur before the form state, at mouse.click.down and not at WindowState. the scheduled event creates a fade of the form "Me.Opacity = 0 - 100" when the form is iconized and restored.
-
Sep 22nd, 2023, 01:03 PM
#5
Re: Captures Mouse Click on the Taskbar Icon.
 Originally Posted by malkovich
No that wasn't right, the event must occur before the form state, at mouse.click.down and not at WindowState. the scheduled event creates a fade of the form when the form is ionized and restored.
Ok. If that works for you, that’s good
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Sep 22nd, 2023, 01:06 PM
#6
Thread Starter
Junior Member
Re: Captures Mouse Click on the Taskbar Icon.
 Originally Posted by .paul.
Ok. If that works for you, that’s good
Thanks for your intervention, you are a great programmer, my respect you.
-
Sep 23rd, 2023, 10:29 AM
#7
Re: Captures Mouse Click on the Taskbar Icon.
 Originally Posted by malkovich
Thanks for your intervention, you are a great programmer, my respect you.
All of us here are still learning. There’s always more to learn…
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|