MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / GetWindowString

Function GetWindowString

Explorer++/Helper/WindowHelper.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void GetWindowString(HWND hwnd, std::wstring &str)
53{
54 int iLen = GetWindowTextLength(hwnd);
55
56 auto *szTemp = new TCHAR[iLen + 1];
57 GetWindowText(hwnd, szTemp, iLen + 1);
58
59 str = szTemp;
60
61 delete[] szTemp;
62}
63
64BOOL lShowWindow(HWND hwnd, BOOL bShowWindow)
65{

Callers 6

SaveStateMethod · 0.85
OnOkMethod · 0.85
OnRunMethod · 0.85
OnOkMethod · 0.85
OnOkMethod · 0.85
OnCBNEditChangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected