C
C#2y ago
Zypeth

✅ Graphics and Windows

Hi I am interested in creating my own window instead of using the command console or winforms, I have no clue how to create this window or make graphics for it, I'd like to make it all so I understand it, does anyone have any resources to do this or just know how? Thanks!
17 Replies
JakenVeina
JakenVeina2y ago
Hello World app with WPF in C# - Visual Studio (Windows)
Create a simple Windows Desktop .NET app in C# with Visual Studio using the Windows Presentation Foundation (WPF) UI framework.
Zypeth
ZypethOP2y ago
Is there anyway to do this without visual studio? Like create it from scratch idk if that's possibel lol
Jester
Jester2y ago
in notepad if you have a compiler and hate yourself pepewidesmile you want to use WPF or really go from scratch? then you have to learn the windows api (to create a window) and probably directx (to do the graphics)
Zypeth
ZypethOP2y ago
How do I create a compiler lol? I hate myself :)
Jester
Jester2y ago
you dont thats too much effort first you cut down a tree, then you get stone, then iron and redstone, then you build some redstone circuits to build a compiter. then you make a compiler in assembly to make your own programming language like C. then you create an operatingsystem with a gui. then you create a window a gpu and graphics drivers and api and there you go a window from scratch
Zypeth
ZypethOP2y ago
sounds good! thanks :D
Jester
Jester2y ago
ill see you in 300 years when you are done with the project
Zypeth
ZypethOP2y ago
o/
Jester
Jester2y ago
👋 goodluck
Jester
Jester2y ago
Create a window - Win32 apps
Learn how to create a window as the first step in this sample module for your first Windows program.
Jester
Jester2y ago
Jester
Jester2y ago
Text Rendering with Direct2D and DirectWrite - Win32 apps
Unlike other APIs, such as GDI, GDI+ or WPF, Direct2D interoperates with another API, DirectWrite, to manipulate and render text. This topic describes the benefits and interoperation of these separate components.
Jester
Jester2y ago
Work with DirectX device resources - Win32 apps
Understand the role of the Microsoft DirectX Graphics Infrastructure (DXGI) in your Windows Store DirectX game.
Jester
Jester2y ago
if you want to actually make a desktop app, use WPF in visual studio. if you want to learn about windows, read all this
Zypeth
ZypethOP2y ago
Amazing :D
anita
anita2y ago
I can also recommend https://www.nuget.org/packages/Silk.NET.Windowing/ if you want a simple crossplatform abstraction over windowing in c#
Silk.NET.Windowing 2.17.1
Silk.NET is a high-speed, advanced library, providing bindings to popular low-level APIs such as OpenGL, OpenCL, OpenAL, OpenXR, GLFW, SDL, Vulkan, Assimp, and DirectX.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server