C
C#7mo ago
RBMKBlaze

ShowWindow() help

Hello, im using the ShowWindow() from "User32.dll" to hide (SW_SHOW = 0x00) a window and show (SW_SHOW = 0x05) it later however showing it after its hidden it does not work (Im guessing the window does not exist anymore.)!
3 Replies
WEIRD FLEX
WEIRD FLEX7mo ago
you have the handle right? you can check if it exists if nobody destroys it then it's still there
Jester
Jester7mo ago
try 1 instead of 5 to show the window again. this always works for me
RBMKBlaze
RBMKBlaze7mo ago
it does kk
Want results from more Discord servers?
Add your server
More Posts
Databases load balancingHey everyone, I have to create a load balancer between databases. I am using EF core to build querie✅ Make C# Application work directory independent, relativ work directory for exe fileHello guys, I want my C# Application Executable Everywhere, also on other PC's, currently my exe fiUnity Movement systemEverything works except for going up hills. It kinda lags out and does it very slowely only pushing ASP.Net Core MVC Razor view rendering data from controller with dynamic castingIn my MVC application I'm using IEnumerable interface inside my repository for the database model, a"ExtensionlessUrlHandler-Integrated-4.0"I've been struggling with getting my local IIS on Win 11 to host some older (4.5.1) MVC applicationsASP .NET 7 - Testing a JWT Token GeneratorI have an ASP .NET web api which calls a CreateToken() method inside a TokenService to generate a JWCount the number of sequences of characters "cd" in a line and delete those before itletter 'b' (reHow to do it in c#... I would be very grateful if anyone could help with a sample codeInconsistent accessibility: property type 'Exercises.Register.Gender' is less accessible than properI honestly have no clue how it's having issues with accessibility when both classes are within the scookie clicker storeHello i am here ones again asking for help. My store buttons need to be dissabled if i don't have teWhere to change working directory in VS2022?How do you change the working directory for a project in Visual Studio? The project I'm working on