Valhalla Legends Forums Archive | Battle.net Bot Development | Re: [C++ WIN32 API] What kind of control to use?

AuthorMessageTime
bethra
Ok, so I'm newb at doing GUI stuff in C++... I need some advice on what kind of control to use for like displaying what is said in the chat.

Once I know what kind of control is best for this, I can do some research on it and figure out how to use it.  I'm not using MFC, I'm using the straight up Win32 API.
October 6, 2005, 3:58 AM
Forged
[code]
#include <stdio.h>

printf(incomingstring)
[/code]
October 6, 2005, 4:09 AM
l2k-Shadow
printf is nice and the include file uses less space but for more options use cout.

[code]
#include <iostream>

cout << data;
[/code]
October 6, 2005, 4:56 AM
UserLoser.
He said GUI, as in, Graphical User Interface.  Not a console application.  To answer your question, a RichEdit box would be the best for you if you want colors and neat formatting.
October 6, 2005, 5:02 AM
Kp
Although if he wants it to look really slick and overcome some of the annoying limitations of richedit, he could use GTK+.  It's runs on MS-Windows, but it's not standard there.
October 7, 2005, 11:18 PM

Search