4

ダイアログ定数 DS_RECURSE の値は何ですか (MS の公式ドキュメントへのリンクが必要です。履歴情報を歓迎します)。ご清聴ありがとうございました。

4

2 に答える 2

9

DS_RECURSE存在しません。これは、RTM の前に削除された Windows 95 のプレリリース バージョンのフラグでした。それを参照するすべてのドキュメントは「使用しないでください」と述べていますが、存在しないものは使用できないため、これは非常に簡単です。

于 2013-02-22T16:09:06.850 に答える
2

http://msdn.microsoft.com/en-us/library/aa925154.aspx

The following styles are not supported for the **style** member of the DLGTEMPLATE structure: 

...
DS_RECURSE
    Not required. Any child dialog box is automatically considered to be a recursive dialog box.

これは構造です:

typedef struct {
  DWORD style; 
  DWORD dwExtendedStyle; 
  WORD cdit; 
  short x; 
  short y; 
  short cx; 
  short cy; 
} DLGTEMPLATE; 

ご覧のとおり、スタイルは DWORD なので、DS_RECURSE の値も DWORD です。必要ないので0にしておきます。

ところで:どのような理由でそれが必要ですか?

于 2013-02-22T12:52:15.910 に答える