win32 编程由简入繁之二:各种控件窗口、子窗口,处理资源文件
摘要:
实例下载1。所有的控件,除了菜单,都是窗口,这些窗口类不需要再RegisterClass,可以直接用。倒数第4个参数是指定他的父窗口的句柄,没有父窗口就写0。如:stx = CreateWindow("Static","A Random Static Label",WS_CHILD | WS_VISIBLE ,0,0,200,25,hwnd,0,g_hInst,0);static_label = CreateWindow("Static","This static label",WS_CHILD | WS_VISI 阅读全文
posted @ 2011-04-19 14:33 袁婉轩 阅读(398) 评论(0) 推荐(0) 编辑