You need to be using the Win32 API for Windows and for Linux you can use something like QT (Dont quote me is I have misspelled it.)