home *** CD-ROM | disk | FTP | other *** search
/ Media Share 13 / mediashare_13.zip / mediashare_13 / ZIPPED / PROGRAM / WTJ9403.ZIP / WILDASS / SOURCE / WNDLST.H < prev    next >
C/C++ Source or Header  |  1993-08-08  |  643b  |  33 lines

  1. // wndlst.h
  2. //
  3. // interface to the main window class list
  4. // update: 1.00 08-08-93 tw
  5.  
  6. class CRawHWnd : public CObject
  7. public:         
  8.    CRawHWnd( HWND hWnd );
  9.    HWND  m_hWnd;
  10.    
  11.    BOOL IsTileWindow() const;
  12. };
  13.  
  14.  
  15. class CMainWndList : public CObList
  16. private:
  17.    static BOOL CALLBACK __export EnumWindowProc( HWND, LPARAM ); 
  18.  
  19. public:
  20.    CMainWndList();
  21.    ~CMainWndList(); 
  22.    
  23.    int GetTileCount();
  24.    
  25.    // avoid casts in usage
  26.    CRawHWnd*& GetNext( POSITION& rPos );
  27.    CRawHWnd* GetNext( POSITION& rPos ) const;
  28.    CRawHWnd*& GetAt( POSITION pos );
  29.    CRawHWnd* GetAt( POSITION pos ) const;
  30.  
  31. };