Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
COleServerItem::OnShow
◄COleServerItem►                              ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation OLE Classes──────────────────────────────────────────
  protected:
      virtual OLESTATUS OnShow( BOOL <bTakeFocus> ) = 0;
 
  Parameter    Description
 
  <bTakeFocus> TRUE if the server item should take the input focus;
               otherwise FALSE.
 
  Remarks
 
  You must override this pure virtual function to process a client request
  to show an item that results from a primary-verb
  COleClientItem::Activate call. Ordinarily, OnShow makes the server item
  visible.
 
  Return Value
 
  See the ◄COleException► class for a list of return values. The value
  OLE_OK indicates that the function operated correctly.
 
  See Also
 
  ◄COleServerItem::OnDoVerb►, ◄COleServerItem::OnExtraVerb►,
  ◄COleClientItem::Activate►
 
 
                                     -♦-