C
C#13mo ago
Blaze

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
Omnissiah
Omnissiah13mo ago
you have the handle right? you can check if it exists if nobody destroys it then it's still there
Jester
Jester13mo ago
try 1 instead of 5 to show the window again. this always works for me
Blaze
BlazeOP13mo ago
it does kk
Want results from more Discord servers?
Add your server