下你所需,载你所想!
汇集开发技术源码资料

易语言api创建窗口

:2.582KB :1 :2020-11-15 16:16:54

部分简介

jb_class.cbSize = API_LocalSize (jb_class)
jb_class.lpszClassName = “sfwindow”
jb_class.lpfnWndProc = 到整数 (&窗口函数)
API_RegisterClassEx (jb_class)
API_CreateWindowEx (0, “sfwindow”, “suifeng”, 位或 (#WS_VISIBLE, #WS_SIZEBOX, #WS_MAXIMIZEBOX, #WS_MINIMIZEBOX, #WS_SYSMENU), 0, 0, 500, 500, 0, 0, 0, 0)
.判断循环首 (API_GetMessage (jb_msg, 0, 0, 0) ≠ 0)
API_TranslateMessage (jb_msg)
API_DispatchMessage (jb_msg)
.判断循环尾 ()

热门推荐

相关文章