File: WorkDialog.h

package info (click to toggle)
libstxxl 1.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,532 kB
  • sloc: cpp: 30,003; ansic: 3,507; makefile: 665; sh: 515; perl: 289
file content (34 lines) | stat: -rw-r--r-- 817 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once

#define WM_WORK_THREAD_FINISHED (WM_USER + 0x101)
#define WORK_TIMER_ID (1)

// CWorkDialog dialog

class CWorkDialog : public CDialog
{
    DECLARE_DYNAMIC(CWorkDialog)

public:
    CWorkDialog(CWnd * pParent = NULL);      // standard constructor
    virtual ~CWorkDialog();

// Dialog Data
    enum { IDD = IDD_WORKDIALOG };

protected:
    virtual void DoDataExchange(CDataExchange * pDX);       // DDX/DDV support

    DECLARE_MESSAGE_MAP()
public:
    afx_msg void OnBnClickedOk();
    afx_msg void OnBnClickedCancel();
    CString m_Message;
protected:
    CWinThread * thread;
public:
    afx_msg LRESULT OnThreadFinished(WPARAM wparam, LPARAM lparam);
    void SetThread(CWinThread * thread_);
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnTimer(UINT nIDEvent);
};