Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CWnd::OnWinIniChange
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  afx_msg void OnWinIniChange( LPSTR lpSection );
 
  Parameter   Description
 
  <lpSection> Points to a string that specifies the name of the section
              that has changed (the string does not include the square
              brackets).
 
  Remarks
 
  Called after a change has been made to the Windows initialization file,
  WIN.INI.
 
  To send the WM_WININICHANGE message to all top-level windows, an
  application can use the SendMessage Windows function with the <hWnd>
  parameter set to 0xFFFF.
 
  If an application changes many different sections in WIN.INI at the same
  time, the application should send one WM_WININICHANGE message with
  <lpSection> set to NULL. Otherwise, an application should send
  WM_WININICHANGE each time it makes a change to WIN.INI.
 
  If an application receives an OnWinIniChange call with <lpSection> set
  to NULL, the application should check all sections in WIN.INI that
  affect the application.
 
  This message-handler member function calls the Default member
  function. Override this member function in your derived class to handle
  the WM_WININICHANGE message.
 
  See Also
 
  ::SendMessage, WM_WININICHANGE, CWnd::Default
 
 
                                     -♦-