ADeltaX / MobileShell

A custom shell Windows 10 Mobile-like for Windows 10 Desktop
MIT License
359 stars 37 forks source link

Opening Task View by holding the back arrow will hide the "X" #14

Open ADeltaX opened 5 years ago

ADeltaX commented 5 years ago

This is because we use keystrokes to invoke the task view (The X automatically hides when a keyboard or mouse is used, keystrokes "simulates" a keyboard)

ShadowEO commented 5 years ago

Could we use the DWM API to accomplish this without simulating the keystroke? The last answer in this stackoverflow question seems to indicate that we can activate it programmatically in the same way as Flip3D from Vista. Perhaps that will preserve the "X"?

It seems to indicate we can call an undocumented DWM API to invoke Flip3D/Task View, it might be a little hacky and I'm not too sure how to call ordinals from C#...

In fact, looks like it can be done with something similar:

[DllImport("dwmapi", EntryPoint = "#105")]
extern static void InvokeTaskView();

Then call InvokeTaskView();, at least, that seems to be the gist of it from my very light reading on DllImport at 4:30 in the morning :P

ADeltaX commented 5 years ago

Unfortunately it doesn't work because that entry point on ordinal 105 will always return "0" without doing anything. (address pointed to DwmpEnableDDASupport(), ordinal 143)

Btw thank you, there is another way, but it's a bit hard to achieve :))))

ShadowEO commented 5 years ago

No problem, just trying to help where I can! Glad to know it wasn't just my PC not doing anything when I used rundll32 to try it.

I wonder if Microsoft changed the function for trigger Flip3D then.

fisforfaheem commented 5 years ago

please just update the original product so millions could use it

On Wed, Sep 11, 2019 at 10:14 PM ShadowEO notifications@github.com wrote:

No problem, just trying to help where I can! Glad to know it wasn't just my PC not doing anything when I used rundll32 to try it.

I wonder if Microsoft changed the function for trigger Flip3D then.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ADeltaX/MobileShell/issues/14?email_source=notifications&email_token=AIRXJSC7BHNZZIJXKSIYCQTQJERQRA5CNFSM4HYNXVU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6PG5MI#issuecomment-530476721, or mute the thread https://github.com/notifications/unsubscribe-auth/AIRXJSBXBSDA3O3VUSEGL53QJERQRANCNFSM4HYNXVUQ .

ShadowEO commented 5 years ago

please just update the original product so millions could use it

I already addressed this in the other comment, if he didn't respond to it there, what made you think he'd respond to it here? ADeltaX is a hobbyist developer, not a full-time employee of the community. He didn't need to release anything, you should be grateful he even released the code at all and that you guys have this much, let alone released it as FOSS so it could be continued if he ever dropped it.

I'm not truly affiliated with the project, and the only real project developer here is ADeltaX (I just keep a personalized fork of my own), but your behavior really grinds the gears of many FOSS developers. It's not cool.

fisforfaheem commented 5 years ago

I am sorry if i have offended anyone.. I wasn't being a jerk. I just wanted DEV to know that how much people are passionate about his work. I my self am not a dev so i cant continue this project. I Just wanted him to know that people want this project to be updated... I used the windows store app othis project and was feeling so hopeful!

Anyway :) thanks

On Thu, Sep 12, 2019 at 3:08 AM ShadowEO notifications@github.com wrote:

please just update the original product so millions could use it … <#m5515844484972881792> On Wed, Sep 11, 2019 at 10:14 PM ShadowEO @.***> wrote: No problem, just trying to help where I can! Glad to know it wasn't just my PC not doing anything when I used rundll32 to try it. I wonder if Microsoft changed the function for trigger Flip3D then. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#14 https://github.com/ADeltaX/MobileShell/issues/14?email_source=notifications&email_token=AIRXJSC7BHNZZIJXKSIYCQTQJERQRA5CNFSM4HYNXVU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6PG5MI#issuecomment-530476721>, or mute the thread https://github.com/notifications/unsubscribe-auth/AIRXJSBXBSDA3O3VUSEGL53QJERQRANCNFSM4HYNXVUQ .

I already addressed this in the other comment, if he didn't respond to it there, what made you think he'd respond to it here? ADeltaX is a hobbyist developer, not a full-time employee of the community. He didn't need to release anything, you should be grateful he even released the code at all and that you guys have this much, let alone released it as FOSS so it could be continued if he ever dropped it.

I'm not truly affiliated with the project, and the only real developer here is ADeltaX, but your behavior really grinds the gears of many FOSS developers. It's not cool.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ADeltaX/MobileShell/issues/14?email_source=notifications&email_token=AIRXJSANZFHWZHY3PQN2LN3QJFT7LA5CNFSM4HYNXVU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6QBQPI#issuecomment-530585661, or mute the thread https://github.com/notifications/unsubscribe-auth/AIRXJSBRFB5NOC4PTMJLNTDQJFT7LANCNFSM4HYNXVUQ .