Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ADeltaX opened this issue Jun 14, 2019 · 6 comments
Open

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

ADeltaX opened this issue Jun 14, 2019 · 6 comments

Comments

@ADeltaX
Copy link
Owner

ADeltaX commented Jun 14, 2019

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
Copy link
Contributor

ShadowEO commented Sep 9, 2019

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
Copy link
Owner Author

ADeltaX commented Sep 11, 2019

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
Copy link
Contributor

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
Copy link

fisforfaheem commented Sep 11, 2019 via email

@ShadowEO
Copy link
Contributor

ShadowEO commented Sep 11, 2019

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
Copy link

fisforfaheem commented Sep 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants