Minimizing all open windows in C#

前端 未结 5 1676
南笙
南笙 2020-11-28 07:50

I saw this C++ code on a forum which minimizes all open windows

#define MIN_ALL        419
#define MIN_ALL_UNDO   416

int main(int argc, char* argv[])
{
            


        
5条回答
  •  春和景丽
    2020-11-28 08:15

    Not exactly the easiest way, but the manual way is to call the C++ implementation. http://pinvoke.net helps:

    findwindow search results: http://pinvoke.net/search.aspx?search=findwindow&namespace=[All]

    approximately the fourth result down helps in your case.

提交回复
热议问题