C
C#14mo 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
FestivalDelGelato
you have the handle right? you can check if it exists if nobody destroys it then it's still there
Jester
Jester14mo ago
try 1 instead of 5 to show the window again. this always works for me
Blaze
BlazeOP14mo ago
it does kk

Did you find this page helpful?