Show a text on a newly created window.

Mulligun

Still Mildly Glowing
I'd like to display a window with a text inside it. Here is my code (inside the mouse click hook handler)
Code:
...
create_win_flag("inven_loot_weight", 0, 0, 120, 60, WIN_FLAG_DONTMOVE);
selectWin("inven_loot_weight");
sfall_func0("win_fill_color");
SetTextColor(1.0, 0.1, 0.0); // red color
Format("Hello", 0, 5, 60, 10, justifycenter);
ShowWin;
...


But that ONLY creates the windows itself, no texet is printed.

What I'm doing wrong?
 
Mulligun why don't you just make 1 thread "Mulligun's Questions & Answers", with all of your questions. A single location where all of these questions will be answered by the people who know the answers instead of opening dozens of threads. It also would help people who are curious as to the answers to these interesting questions...gathered all in one location. Just saying...and I have no idea what you're doing wrong.
 
Back
Top