MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / OnNcCreate

Method OnNcCreate

cppcryptfs/ui/CryptPropertySheet.cpp:198–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196
197
198BOOL CCryptPropertySheet::OnNcCreate(LPCREATESTRUCT lpCreateStruct)
199{
200
201 if (!CPropertySheet::OnNcCreate(lpCreateStruct))
202 return FALSE;
203
204 // TODO: Add your specialized creation code here
205
206 // Modify the window style
207 LONG dwStyle = ::GetWindowLong(m_hWnd, GWL_STYLE);
208 ::SetWindowLong(m_hWnd, GWL_STYLE, dwStyle | WS_MINIMIZEBOX | 0*WS_MAXIMIZEBOX);
209
210 return TRUE;
211}
212
213
214void CCryptPropertySheet::OnSysCommand(UINT nID, LPARAM lParam)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected