MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / InitCloneDropdownMenu

Method InitCloneDropdownMenu

source/Configuration/PageAdvanced.cpp:286–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286void CPageAdvanced::InitCloneDropdownMenu(HWND hWnd)
287{
288 // Set clone menu choice (ok even if it's not a clone)
289 const int nCurrentChoice = GetCloneMenuItem();
290 m_PropertySheetHelper.FillComboBox(hWnd, IDC_CLONETYPE, m_CloneChoices, nCurrentChoice);
291
292 const bool bIsClone = IsClone( m_PropertySheetHelper.GetConfigNew().m_Apple2Type );
293 EnableWindow(GetDlgItem(hWnd, IDC_CLONETYPE), bIsClone ? TRUE : FALSE);
294}
295
296void CPageAdvanced::InitGameIOConnectorDropdownMenu(HWND hWnd)
297{

Callers

nothing calls this directly

Calls 2

IsCloneFunction · 0.85
FillComboBoxMethod · 0.80

Tested by

no test coverage detected