C
C#2y 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
many things
many things2y ago
you have the handle right? you can check if it exists if nobody destroys it then it's still there
Gooster
Gooster2y ago
try 1 instead of 5 to show the window again. this always works for me
Blaze
BlazeOP2y ago
it does kk

Did you find this page helpful?