コード例 #1
0
ファイル: prompt.cpp プロジェクト: Desch/MythCore
  void AddComboBox(LPCSTR caption, DWORD style, DWORD exStyle, int x, int y, int w, int h, WORD id) {
      AddStandardComponent(0x0085, caption, style, exStyle, x, y, w, h, id);

      WORD creationDataLength = 0;
      AppendData(&creationDataLength, sizeof(WORD));

    }
コード例 #2
0
ファイル: FDialogTemplate.cpp プロジェクト: YggdrasiI/PBStats
void CDialogTemplate::AddStatic(LPCSTR caption, DWORD style, DWORD exStyle, int x, int y,
								int w, int h, WORD id)
{
	AddStandardComponent(0x0082, caption, style, exStyle, x, y, w, h, id);

	WORD creationDataLength = 0;
	AppendData(&creationDataLength, sizeof(WORD));
}
コード例 #3
0
ファイル: prompt.cpp プロジェクト: Desch/MythCore
  void AddListBox(LPCSTR caption, DWORD style, DWORD exStyle, int x, int y, int w, int h, WORD id) {
      AddStandardComponent(0x0083, caption, style, exStyle, x, y, w, h, id);

      WORD creationDataLength = sizeof(WORD) + 5 * sizeof(WCHAR);
      AppendData(&creationDataLength, sizeof(WORD));

      AppendString("TEST");

    }