注册Windows类Win32 [英] Registering Windows Classes Win32

查看:88
本文介绍了注册Windows类Win32的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为win32程序注册窗口类的最佳实践是什么?

what's the best practise for registering window classes for a win32 program?

您是否在WinMain函数中注册了每个类或按要求注册了每个类?

Do you register every class in the WinMain function or as they're required?

推荐答案

我曾经根据需要进行操作,而无需在需要之前进行操作。

I used to do them as they're required, no need doing it before they're needed.

这篇关于注册Windows类Win32的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆