是否剪辑子对话框的代码控制

HWND m_SysDlgHwnd;                 m_SysDlgHwnd=GetSafeHwnd();
 
         extern HWND m_SysDlgHwnd;
LONG style = GetWindowLong(m_SysDlgHwnd,GWL_STYLE);
style &= ~WS_CLIPSIBLINGS ;
style &= ~WS_CLIPCHILDREN ;
SetWindowLong(m_SysDlgHwnd,GWL_STYLE,style);


extern HWND m_SysDlgHwnd;
LONG style = GetWindowLong(m_SysDlgHwnd,GWL_STYLE);
style = style | WS_CLIPSIBLINGS ;
style = style | WS_CLIPCHILDREN ;
SetWindowLong(m_SysDlgHwnd,GWL_STYLE,style);

你可能感兴趣的:(是否剪辑子对话框的代码控制)