Hi, I want to write a cross platform program for windows and Linux, I love Linux but am stuck with windows on such a common basis, and so I want to make my program use the WIN32 API so that I can make toolboxes and file searching and all that good nonsense, however I have no idea how WIN32 programming would be transcribed into Linux programming. Is there an easy way to do this? Or am I going to have to use Wine or something like that to run my program without extensive reprogramming of the GUI functions for Linux?

E.G. is there a call for Linux equal to the main WinProc function for WIN32 programming? I probably sound like a newbie when it comes to Linux programming and that's not too far off unfortunately... everyone starts somewhere and that somewhere for me is here, so any help would really be appreciated!