win32 应用程序 添加资源

一、资源

1、字符串资源

  LoadString

  LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);

 

二、窗口类

   1、系统类 

    The following table describes the system classes that are available for use by all processes.

Class Description
Button The class for a button.
ComboBox The class for a combo box.
Edit The class for an edit control.
ListBox The class for a list box.
MDIClient The class for an MDI client window.
ScrollBar The class for a scroll bar.
Static The class for a static control.

    The following table describes the system classes that are available only for use by the system. They are listed here for completeness sake.

Class Description
ComboLBox The class for the list box contained in a combo box.
DDEMLEvent The class for Dynamic Data Exchange Management Library (DDEML) events.
Message The class for a message-only window.
#32768 The class for a menu.
#32769 The class for the desktop window.
#32770 The class for a dialog box.
#32771 The class for the task switch window.
#32772 The class for icon titles.

 

 

  2、全局类

  3、局部类

 

  

win32 应用程序 添加资源

上一篇:IDEA运行时报错“类文件具有错误的版本 55.0, 应为 52.0”的解决方法


下一篇:Windows server 2008 R2实现多用户远程连接 (转)