Categories
c++ codeblock IUP Windows

First IUP hello world program in C

After succesfully setting up IUP lib reference in codeblocks its time to test some IUP coding style. Download source code below.

test_iup2

In main.c file, we create some buttons and attach event handler to it. I modify it from IUP hello world sample to show how we access other controls from a event handler that only has reference to the control sending the event.

Categories
c++ codeblock IUP Windows

Using IUP on windows/mingw

IUP is a cross platform GUI library. Last time tried to figure out how to compile an IUP hello world program using codeblocks IDE. After some searching on internet finally managed to compile it. Here is the linker setting used.

Categories
c++ codeblock manjaro wxwidgets

Starting GUI Programming using Code::Block and WxWidgets

I decide now is time for some trial of GUI programming on my manjaro linux installation. After browsing on the net for some time, tonigth im installing and using codeblock for the first time.

Lets add it to our manjaro linux system by using add remove program.