MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / LoadFiletypes

Method LoadFiletypes

src/Windows/ProfilesDialog.cpp:808–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

806}
807
808int ProfilesDialog::LoadFiletypes() {
809 HWND hListASCII = ::GetDlgItem(m_hPageTransfer, IDC_LIST_ASCII);
810 HWND hListBinary = ::GetDlgItem(m_hPageTransfer, IDC_LIST_BINARY);
811
812 ListBox_ResetContent(hListASCII);
813 ListBox_ResetContent(hListBinary);
814
815 for(int i = 0; i < m_currentProfile->GetAsciiCount(); i++) {
816 ListBox_AddString(hListASCII, m_currentProfile->GetAsciiType(i));
817 }
818 for(int i = 0; i < m_currentProfile->GetBinaryCount(); i++) {
819 ListBox_AddString(hListBinary, m_currentProfile->GetBinaryType(i));
820 }
821
822 return 0;
823}
824
825int ProfilesDialog::LoadCacheMaps() {
826 HWND hListview = ::GetDlgItem(m_hPageCache, IDC_LIST_CACHE);

Callers

nothing calls this directly

Calls 4

GetAsciiCountMethod · 0.80
GetAsciiTypeMethod · 0.80
GetBinaryCountMethod · 0.80
GetBinaryTypeMethod · 0.80

Tested by

no test coverage detected