Create Window without Registering a WNDCLASS?

前端 未结 2 1304
走了就别回头了
走了就别回头了 2020-12-11 06:39

Is it absolutely necessary to always build and register a new WNDCLASS(EX) for your application? And then use the lpszClassName for the main window?

Isn\'t there som

2条回答
  •  孤街浪徒
    2020-12-11 07:08

    There are no pre-defined window classes for top-level application windows. You must register a window class for your application, or use a dialog.

提交回复
热议问题