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

Method SaveDialogPosition

Explorer++/Helper/DialogSettings.cpp:207–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void DialogSettings::SaveDialogPosition(HWND hDlg)
208{
209 RECT rc;
210 GetWindowRect(hDlg, &rc);
211 m_ptDialog.x = rc.left;
212 m_ptDialog.y = rc.top;
213 m_iWidth = GetRectWidth(&rc);
214 m_iHeight = GetRectHeight(&rc);
215}
216
217void DialogSettings::RestoreDialogPosition(HWND hDlg, bool bRestoreSize)
218{

Callers 15

SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80
SaveStateMethod · 0.80

Calls 2

GetRectWidthFunction · 0.85
GetRectHeightFunction · 0.85

Tested by

no test coverage detected