|
TNB Library
|
仮想ポート付き、シルアルポートComboBoxコントロール. [詳解]
#include <TnbMfcVmPortComboBox.h>
CVmPortComboBox の継承関係図公開メンバ関数 | |
| CVmPortComboBox (void) | |
| コンストラクタ [詳解] | |
| int | GetCurPort (void) const |
| [取得] ポート情報取得. [詳解] | |
| operator CRs232c::CPort (void) const | |
| [取得] ポート情報取得. [詳解] | |
| void | ResetDevice (bool isFullText=false) |
| [設定] デバイス設定. [詳解] | |
| void | ResetDevice (const CRs232c::TDeviceVector &vd, bool isFullText=false) |
| [設定] デバイス設定. [詳解] | |
| bool | SetCurPort (int port) |
| [選択] ポート選択. [詳解] | |
| int | SetCurSel (int nSelect) |
| [選択] 選択. [詳解] | |
限定公開メンバ関数 | |
| void | AddExtendPort (LPCTSTR lpszName) |
| [設定] 拡張ポート名設定. [詳解] | |
| virtual bool | IsEffectiveness (int port) |
| [選択] 有効ポートチェック [詳解] | |
| virtual BOOL | OnChildNotify (UINT message, WPARAM wParam, LPARAM lParam, LRESULT *_pResult) |
| [通知] for notifications from parent [詳解] | |
| virtual void | PreSubclassWindow (void) |
| [通知] subclassing/unsubclassing functions. [詳解] | |
| virtual BOOL | PreTranslateMessage (MSG *pMsg) |
| [通知] for translating Windows messages in main message pump [詳解] | |
| virtual LRESULT | WindowProc (UINT message, WPARAM wParam, LPARAM lParam) |
| [通知] for processing Windows messages. [詳解] | |
仮想ポート付き、シルアルポートComboBoxコントロール.
デバグ、開発用です。 CVmRs232c と対で使用してください。
TnbMfcVmPortComboBox.h の 36 行目に定義があります。
| CVmPortComboBox | ( | void | ) |
コンストラクタ
TnbMfcVmPortComboBox.h の 42 行目に定義があります。
|
protected |
|
inherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
[通知] for notifications from parent
| [in] | message | メッセージ |
| [in] | wParam | WPARAM |
| [in] | lParam | LPARAM |
| [out] | _pResult | リザルト |
| TRUE | 処理済。 |
| FALSE | 未処理。 |
TnbMfcPortComboBox.h の 262 行目に定義があります。
|
inherited |
|
protectedvirtualinherited |
[通知] subclassing/unsubclassing functions.
サブクラス化する時コールされます。
TnbMfcPortComboBox.h の 243 行目に定義があります。
|
protectedvirtualinherited |
[通知] for translating Windows messages in main message pump
| pMsg | メッセージ |
| TRUE | ディスパッチできない場合 |
| FALSE | ディスパッチする必要がある場合 |
TnbMfcPortComboBox.h の 210 行目に定義があります。
|
inherited |
[設定] デバイス設定.
コントロール作成時、及び、トップウィンドウが WM_CHANGEDEVICE を受け取った時など、デバイス状態が変化した時に使用します。
| isFullText | true なら”製造者 description (COMポート番号)”になります。省略すると ”COMポート番号” になります。 |
TnbMfcPortComboBox.h の 179 行目に定義があります。
|
inherited |
[設定] デバイス設定.
コントロール作成時、及び、トップウィンドウが WM_CHANGEDEVICE を受け取った時など、デバイス状態が変化した時に使用します。
| vd | デバイス情報 |
| isFullText | true なら”製造者 description (COMポート番号)”になります。省略すると ”COMポート番号” になります。 |
TnbMfcPortComboBox.h の 191 行目に定義があります。
|
inherited |
|
inherited |
[選択] 選択.
| nSelect | 選択する文字列を 0 から始まるインデックスで指定します。 |
| CB_ERR以外 | 成功。 |
| CB_ERR | 失敗。 |
TnbMfcPortComboBox.h の 162 行目に定義があります。
|
protectedvirtualinherited |
[通知] for processing Windows messages.
メッセージ受信したらコールされます。
| message | メッセージ |
| wParam | WPARAM |
| lParam | LPARAM |
TnbMfcPortComboBox.h の 228 行目に定義があります。