home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / taman002.zip / TASKMANA.ZIP / src / kClickDlg.h < prev    next >
C/C++ Source or Header  |  2000-04-29  |  864b  |  30 lines

  1. /* $Id: kClickDlg.h,v 1.1 2000/04/29 19:06:34 stknut Exp $
  2.  *
  3.  * kClickDlg (kClassLib) - Declaration of the kClickDlg class.
  4.  *
  5.  * Copyright (c) 1999-2000 knut st. osmundsen
  6.  *
  7.  */
  8.  
  9. #ifndef _kClickDlg_h_
  10. #define _kClickDlg_h_
  11.  
  12.  
  13. /**
  14.  * @description General click dialog class.
  15.  * @author      knut st. osmundsen
  16.  */
  17. class kClickDlg : public kDlgBase
  18. {
  19.    protected:
  20.       BOOL button1Down(POINTS ptsPointerPos, USHORT fsHitTestres, USHORT fsFlags); //WM_BUTTON1CLICK
  21.       BOOL button2Down(POINTS ptsPointerPos, USHORT fsHitTestres, USHORT fsFlags); //WM_BUTTON2CLICK
  22.       BOOL button3Down(POINTS ptsPointerPos, USHORT fsHitTestres, USHORT fsFlags); //WM_BUTTON3CLICK
  23.  
  24.    public:
  25.       kClickDlg(HWND hwndOwner, USHORT usId, HMODULE hmod) throw (kError);
  26.       static BOOL invoke(HWND hwndOwner, USHORT usId, HMODULE hmod);
  27. };
  28.  
  29. #endif
  30.