首页 > 代码库 > win32 应用程序 添加资源

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.

ClassDescription
ButtonThe class for a button.
ComboBoxThe class for a combo box.
EditThe class for an edit control.
ListBoxThe class for a list box.
MDIClientThe class for an MDI client window.
ScrollBarThe class for a scroll bar.
StaticThe 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.

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

 

 

  2、全局类

  3、局部类

 

  

win32 应用程序 添加资源