A
A
Alexander2020-08-31 14:34:38
User interface
Alexander, 2020-08-31 14:34:38

Is it possible to write a Windows GUI in WPF?

Good afternoon! The essence of the question is this - you need to replace explorer.exe, which by default loads the desktop, taskbar, and so on with your craft. I'm still just starting to understand, the level of knowledge is extremely small. And now I'm looking for advice about the implementation of this idea.
Let's say I came up with the following: a simple taskbar (shortcuts for launching programs are attached to it, it's not necessary that everything works automatically - I, as the creator of the shell, what I put there is clickable), it also has a button to turn off and restart the PC, a button, upon opening which a window for working with the printer will pop up (clearing the print queue, most likely, and choosing the default printer). And there are no shortcuts on the rb, only the output of the time, probably, and network information (ipconfig and the like). That's social and all. The meaning of the shell is to protect the user from excessive clicking anywhere, accidentally applying settings, and so on. I logged in under a local account, and on its panel there is a conditional button for launching a browser, a file manager, an office, and that's all. You can also turn off the PC.
Can this be done thanks to WPF? In which direction to dig approximately? If it does not work out, by what solutions can it be implemented?

PS: The usual full screen window without titles with buttons to turn off and launch applications can rivet. But how to implement this taskbar? So that it was on top of the windows, kept the focus on the current running application?

Thanks in advance for your help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Hemul GM, 2020-08-31
@Hephoestus

Everything can be done if you have access to WinApi. From the wpf project, as far as I know, you can also get access, so you can do it.
Read more and look for examples of working with WinApi. Through it, you will receive a list of running windows and switching between them and other status. And also make a window on top of other windows.

A
Alexander, 2020-09-02
@Hephoestus

If suddenly someone else stumbles upon a question) At the moment, the interface looks like this:
5f4f7b24b969c373900049.png
What suggestions will there be? I haven't made a dock panel yet, I'm working on it. I imagine this is somehow so-so for now .. the buttons Options, CMD, editing application lists will open after the sysadmin password. Maybe I'll add a switch button between my interface and explorer.exe. Naturally after entering the password. The flash at the bottom is me - I will be notified of the name of the machine that needs help. It seems to be the most necessary thing that is required in my organization, there is nothing superfluous.
the taskbar will be at the bottom, I still think how and what will be on it. I am glad for suggestions and criticism) Well, in general - I just study and develop.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question