GAL 和 程序入口点(MiniGUIMain) 设置显示区域(SetDesktopRect) 创建主窗口(InitMainWindow) 显示主窗口(ShowWindow) 开始窗口消息循环 GetMessage 从窗口所属队列中获取信息 调用TranslateMessage 和DispatchMessage 函...
基于12个网页-相关网页
在我的应用程序中,我创建了一个新线程,创建主窗口的一个实例。
In my application, I create a new thread which creates an instance of MainWindow.
为启动外壳客户机,我们必须先初始化 GTK 环境,创建一个主窗口,然后向其中添加控件,如下面的代码片断所示。
To start our skin client, we must first initialize the GTK environment, create a main window, and add widgets to it, as in the following code snippets.
该方法的前两行的用途在GUI程序的开头部分很常见:它们创建和显示主窗口。
The first two lines of this method do something you would expect to happen at the start of a GUI program: they create and show a main window.
应用推荐