Vincent Wang已在Google+和你分享訊息。 Google+ 讓你在網路上體驗有如現實生活般的分享樂趣。 瞭解詳情
加入 Google+
Vincent Wang
Useful~
查看Vincent Wang的訊息或在當中留言 » |
這是系統通知訊息:Vincent Wang與uniquesky1.annie@blogger.com分享了這個項目。 取消訂閱這些電子郵件。 |
Vincent Wang
Useful~
查看Vincent Wang的訊息或在當中留言 » |
這是系統通知訊息:Vincent Wang與uniquesky1.annie@blogger.com分享了這個項目。 取消訂閱這些電子郵件。 |
Subscriber Notifier
|--SUBSCRIBE->| Request state subscription
|<----200-----| Acknowledge subscription
|<---NOTIFY---| Return current state information
|------200--->|
|<---NOTIFY---| Return current state information
|-----200---->|
SB_BOTTOM
Scrolls to the lower right.
SB_ENDSCROLL
Ends scroll.
SB_LINEDOWN
Scrolls one line down.
SB_LINEUP
Scrolls one line up.
SB_PAGEDOWN
Scrolls one page down.
SB_PAGEUP
Scrolls one page up.
SB_THUMBPOSITION
The user has dragged the scroll box (thumb) and released the mouse button. The high-order word indicates the position of the scroll box at the end of the drag operation.
SB_THUMBTRACK
The user is dragging the scroll box. This message is sent repeatedly until the user releases the mouse button. The high-order word indicates the position that the scroll box has been dragged to.
SB_TOP
Scrolls to the upper left.
BOOL
WINAPI
SetPortA(
IN LPSTR pName,
IN LPSTR pPortName,
IN DWORD dwLevel,
IN LPBYTE pPortInfo
);
BOOL
WINAPI
SetPortW(
IN LPWSTR pName,
IN LPWSTR pPortName,
IN DWORD dwLevel,
IN LPBYTE pPortInfo
);
#ifdef UNICODE
#define SetPort SetPortW
#else
#define SetPort SetPortA
#endif // !UNICODE
#ifdef DONT_USE_WINSPOOL_SETPORTA
#endif //!DONT_USE_WINSPOOL_SETPORTA
#ifdef DONT_USE_WINSPOOL_SETPORTA
SetPortA(
...
...
#endif // !UNICODE
#endif //!DONT_USE_WINSPOOL_SETPORTA
sudo apt-get install libX11-dev libXext-dev libXtst-dev libxrender-dev
// Message Map
BEGIN_MESSAGE_MAP(CDlgDlg, CDialog)
...
ON_WM_TIMER()
END_MESSAGE_MAP()
// Timer Handler.
void CDlgDlg::OnTimer( UINT nIDEvent )
// Timer Handler.
SetTimer( ID_TIMER_MINUTE, 60 * 1000, 0 );
SetTimer( ID_TIMER_SECONDS, 1000, 0 );)
4. timer單位mini sec