How to minimize a Window in Win32(mingw32) ?

hallo programmers all over the worldI'm programing in C for linux(portable code) most of the time, but sometimes my program needs to run under win32, so i have this problem:how can I minimize/maximize my main window(program).plz help (perhaps a small C example for mingw32 ?) thank you (linux is the best developer platform, but win32 is the best desktop system for users(for now).thanks to all the programmers who made all the GNU/linux tools-libraries crossplatform.)

Comments

: I'm programing in C for linux(portable code) most of the time, but sometimes my program needs to run under win32, so i have this problem:: how can I minimize/maximize my main window(program).: plz help (perhaps a small C example for mingw32 ?)

ShowWindow(hWnd, SW_MINIMIZE) and ShowWindow(hWnd, SW_MAXIMIZE)

: thank you

Very welcome

: (linux is the best developer platform, but win32 is the best desktop system for users(for now).

I like Linux solid rock stability, but sadly, the best development evironment (Visual Studio) only works in Windows, so for me, best developer platform is Windows 2000 Pro SP3.

: thanks to all the programmers who made all the GNU/linux tools-libraries crossplatform.): : : : : :