For the 2 parameters lpClassName and lpWindowName in FindWindow, what do i throw in there to hide all open windows? Is this possible? MSDN makes it sound like if both parameters are null, that will do the trick, but before i test it, i want to make sure that works so i dont have to restart my computer before i reverse the action
clutchkiller
3
Junior Poster
Recommended Answers
Jump to PostFindWindow will only return a handle to one window, to do this you will have to loop through all opened applications and hide them one at a time. Try looking up the EnumWindows function, it may provide your solution.
All 4 Replies
William Hemsworth
1,339
Posting Virtuoso
clutchkiller
3
Junior Poster
Comatose
290
Taboo Programmer
Team Colleague
clutchkiller
3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.