2026-10-04 00:04:20 +08:00
|
|
|
#pragma once
|
2026-09-28 15:28:50 +08:00
|
|
|
|
|
|
|
|
class TSymbEdJigEx : public AcEdJig
|
|
|
|
|
{
|
|
|
|
|
protected:
|
|
|
|
|
int GetRetCode(int nRetCode, int *kewyIdx=NULL) const;
|
|
|
|
|
protected:
|
2026-10-04 00:04:20 +08:00
|
|
|
//输入
|
|
|
|
|
XString m_sPrompt; //提示信息
|
2026-09-28 15:28:50 +08:00
|
|
|
XString m_sKeyword;
|
|
|
|
|
|
|
|
|
|
XPoint m_ptResult;
|
|
|
|
|
public:
|
|
|
|
|
TSymbEdJigEx() {}
|
|
|
|
|
virtual int DoIt(int *pKeyIndex=NULL);
|
|
|
|
|
virtual DragStatus GetPoint(XPoint &pt);
|
|
|
|
|
virtual BOOL IsPosChanged(XPoint ptNew) const;
|
|
|
|
|
virtual DragStatus sampler();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
void SetPrompt(const TCHAR *s) {
|
|
|
|
|
m_sPrompt=s;
|
|
|
|
|
}
|
|
|
|
|
void SetKeyword(const TCHAR *k) {
|
|
|
|
|
m_sKeyword=k;
|
|
|
|
|
}
|
|
|
|
|
XPoint GetPickPoint() const {
|
|
|
|
|
return m_ptResult;
|
|
|
|
|
}
|
|
|
|
|
};
|