I appreciate any advice. I have been programming HMI's and PLC's for a while. I was about to switch to c-programming for portability when I started researching and have not found many gui builders. I design and program many different control systems and have done fine with plc's and hmi's for a while. My last program turned out extremely nice and I ran into a very substantial lag due to maxing out the plc (I had to mulitplex quite a few of my control functions just to fit within code size limitations). I am not trying to discuss other plc's and have fully decided to make the switch to c-programming for a few reasons that I will list in case I am incorrect in my thinking:

-portability (I would think that I can use the c-application on everything from a RTOS to windows 7 or OSX so I can write the program once and use for embedded micro-processors or a desktop on a plant floor)

-no hardware limitations (if I am using a panel pc and running an application that is taking the hardware to the limit and notice considerable lags, which happened in the above situation, I can just move to a panel pc with faster processor or more memory ect)

-If/when I decide to switch to microprocessors and develop my own boards I will know c so can use any of the standard compilers for the embedded processor manufacture of my choice

Now for the issue currently at hand. Assuming that my above thinking is correct, I want to start learning c. I catch on to languages very quickly and feel extremely confident that I can learn c quickly and start designing so systems within a few weeks (always had a strong aptitude for languages). My biggest hang-up is the gui programming. I am not interested at all in hand coding a gui and need a wysiwyg builder. What I have been looking for since their does not seem to be an all in one c gui builder out there that I can use c for everything is to create the brains of the application in c and figure out what gui builder/language I can use to connect to my main c-application. This seems to be a pretty clean scenario for me as I am used to similar architecture with the HMI and plc (HMI is the U.I. for the plc application) and would allow me to change my U.I. without changing my main application. Does anyone have any suggestions for a gui builder that I can connect with a c-application. I need something that will have examples and/or tutorials to catch on to as this is all pretty new to me. Thanks for any advice