smashdog 发表于 2011-5-6 17:40:27

请高手看一下如下代码,miniwindows文字为什么出不来

win = "status";// get a unique name, ensure not empty if outside plugin
WindowDelete(win);
//WindowFont (win, "f", "Trebuchet MS", 28, true, false, false, false);
WindowCreate (win, 0, 0, 200, 200, 12, 0, ColourNameToRGB("white"));// create window
WindowText (win, "f", "Lazy dog yawns", 5, 20, 0, 0, ColourNameToRGB ("darkgreen"), false);
WindowShow (win,true);// show it

谢谢了

smashdog 发表于 2011-5-6 17:42:00

WindowFont (win, "f", "Trebuchet MS", 28, true, false, false, false);
这一行会提示错误

Execution of line 3 column 1
Immediate execution
参数是必选项

lzkd 发表于 2011-5-6 17:47:39

手上没系统,不过,看起来,应该是没有相关字体之类的问题

ouyan 发表于 2011-5-7 13:39:23

看不太懂,晕
页: [1]
查看完整版本: 请高手看一下如下代码,miniwindows文字为什么出不来