MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / OnInitDialog

Method OnInitDialog

editor/TerrainSoundDialog.cpp:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75// CTerrainSoundDialog message handlers
76
77BOOL CTerrainSoundDialog::OnInitDialog() {
78 CDialog::OnInitDialog();
79
80 m_sound_combo.Init(Terrain_sound_bands[0].sound_index);
81 m_current = 0;
82 CopyToControls();
83 UpdateDialog();
84
85 return TRUE; // return TRUE unless you set the focus to a control
86 // EXCEPTION: OCX Property Pages should return FALSE
87}
88
89void CTerrainSoundDialog::EnableDisableAll(int flag) {
90 ((CButton *)GetDlgItem(IDC_TERRAIN_SOUND_LOW_ALT))->EnableWindow(flag);

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected