Window in c with winapi

0

I'm making an application in c, in windows, with mingw. Currently just write on the screen (in a console) something, and what I want is to dispense with console and print things in a simple window with a memo field and go writing things in that memo, go adding text. I know I have options like wxwidgets or qt to create windows, but those options requires that the user that runs the application needs to install libraries, so I have (so I know) to use the windows API. How can I create a simple window, have only one field of type memo, or label, and add text there? I currently know how to take out a msgbox and nothing else.

Example:

#include <stdio.h>
Int main();
{
    Printf("hola mundo");
    Return(0);
}

I know I should include windows.h, but, apart from that, how do I create the window with a memo or label and put text in it?

    
asked by Ruben 30.04.2018 в 12:36
source

0 answers