MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / LoadDefaultFilter

Function LoadDefaultFilter

Source/FileDialogs.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include "FileDialogs.h"
24
25CStringW LoadDefaultFilter(LPCWSTR Name, LPCWSTR Ext) {
26 // Loads a single filter string including the all files option
27 CStringW allFilter;
28 VERIFY(allFilter.LoadStringW(AFX_IDS_ALLFILTER));
29 return FormattedW(L"%s|%s|%s|*.*||", Name, Ext, (LPCWSTR)CStringW(MAKEINTRESOURCEW(AFX_IDS_ALLFILTER)));
30}
31
32CStringW LoadDefaultFilter(UINT nID, LPCWSTR Ext) {
33 return LoadDefaultFilter(CStringW(MAKEINTRESOURCEW(nID)), Ext);

Callers 6

GetSavePathFunction · 0.85
GetLoadPathFunction · 0.85
ShowDialogMethod · 0.85
OnLoadInstrumentMethod · 0.85
OnBnClickedLoadMethod · 0.85
DoPromptFileNameMethod · 0.85

Calls 1

FormattedWFunction · 0.85

Tested by

no test coverage detected