Micolithe
Agender
36 years old
Philadelphia, PA
Online Now
Last Login: 08/30/2007

Agender Enby, Trans, Gay, AND the bearer of the gamer's curse. Not a man, not a woman, but instead I am puppy.
I got a fat ass and big ears.

--

Yes I did the cooking mama Let's Play way back when. I post alot about Tech (mostly how it sucks) and Cooking and Music and Television Shows and the occasional Let's Play video
💖@FadeToZac

--

We all do what we can ♫

So we can do just one more thing ♫

We can all be free ♫

Maybe not in words ♫

Maybe not with a look ♫

But with your mind ♫


last.fm listening



blep
@blep
This page's posts are visible only to users who are logged in.

mintexists
@mintexists

I am so sorry the computers are being mean to you like this it’s really not fair

We will send someone to speak to the computers about this, they’ve been bitey lately ever since bob spilled soda on the keyboard Yknow how it is.

please submit all formal complaints to no-reply@computers


You must log in to comment.

in reply to @blep's post:

small correction:

I’m using Rust, so the C# options are out.

I believe this is false! you can probably use C++/CX, which is a different horrible nightmare thing that is also officially obsolete1 but I assume has to still be working because there's probably people who use it for something important. at the very worst you would have to write a rust module that does rust-C++ interop, and a separate C++ DLL that does C++-C++/CX interop, then glue the two together.


  1. not to be confused with C++/CLI, which was a third horrible nightmare thing that is even more obsolete -- essentially a managed dialect of C++ that compiled to MSIL instead of object code

some customer inside microsoft always needs to interop one component with a bizarre set of requirements with another component with a different bizarre set of requirements, so the tools team is always very busy. they never produce any interop stories that are any good, but dear lord are they trying.

fun fact: Windows App SDK UI looks a lot like the UI from Windows Phone 7, but all of the underlying code is completely different; Windows Phone 7 used Microsoft Silverlight (a .net-based Flash competitor) as its UI language, and all of the UI code for system applications was written in a truly slipshod dialect of C called C-- that was created as an emergency measure to allow them to integrate Silverlight with native code.

ironically, one of the few things I remember about C-- 15 years on is that C-- didn't have postincrement or postdecrement operators.

I use a window manager called Rectangle on my Mac (it’s free and I think Open source) and it lets you snap windows to do this automatically (or use hot keys to do it as well) it’s really customizable

i thought you might want to know this, since it might have saved you some headache:

However, the Windows App SDK is somehow not a built-in component of Windows, so actually, you cannot use Microsoft::UI::Windowing::AppWindow using windows-rs.

you can still use these APIs from rust with relative ease! the windows-rs crate is generated using windows-bindgen, and you can use that generator yourself to generate projections for any winmd file that you throw at it. all WinRT APIs are described through winmd files, so you can generate Rust projections for WASDK, too.

i made a quick and dirty project to show how you would do it: https://github.com/reflectronic/wasdk-rust-sample. i'm not a seasoned rust programmer (i installed rust on this computer just to make this), so please go easy on me, but there's a working sample in the repo that uses some WASDK APIs (not a particularly impressive one, but it's a start). if you're interested in replacing your C++/WinRT with this, i could flesh it out a little more.

hope this is useful!!

I forgot when I first read this to point out that the "hiding the system chrome" thing is actually a Windows legacy hack. Yep, you heard that right: if you take any window, and make it borderless, and move it around, your taskbar will mysteriously disappear only when that window perfectly lines up with certain positions on your screen.

So Chrome isn't hiding the taskbar, the taskbar hides itself.