国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

期貨量化軟件:赫茲量化窗體對象中的圖形和鼠標(biāo)事件的處理

2023-08-23 14:46 作者:大牛啊呢  | 我要投稿

現(xiàn)在,每個窗體對象都將擁有一個新的“與環(huán)境交互”屬性。 如果設(shè)置了該屬性,則表示對象應(yīng)根據(jù)其狀態(tài)響應(yīng)鼠標(biāo)操作。 其余的窗體對象應(yīng)該在重置窗體中具有該標(biāo)志。 這可令我們選擇光標(biāo)懸停在其上的窗體(按下按鈕),以及其它任何僅可針對單一窗體執(zhí)行的必要操作,從而無關(guān)圖表不響應(yīng)鼠標(biāo)操作。

在同一文件中,在畫布上的圖形元素整數(shù)型屬性枚舉中設(shè)置屬性:

//+------------------------------------------------------------------+ //| Integer properties of the graphical element on the canvas ? ? ? ?| //+------------------------------------------------------------------+ enum ENUM_CANV_ELEMENT_PROP_INTEGER ?{ ? CANV_ELEMENT_PROP_ID = 0, ? ? ? ? ? ? ? ? ? ? ? ? ?// Element ID ? CANV_ELEMENT_PROP_TYPE, ? ? ? ? ? ? ? ? ? ? ? ? ? ?// Graphical element type ? CANV_ELEMENT_PROP_BELONG, ? ? ? ? ? ? ? ? ? ? ? ? ?// Graphical element affiliation ? CANV_ELEMENT_PROP_NUM, ? ? ? ? ? ? ? ? ? ? ? ? ? ? // Element index in the list ? CANV_ELEMENT_PROP_CHART_ID, ? ? ? ? ? ? ? ? ? ? ? ?// Chart ID ? CANV_ELEMENT_PROP_WND_NUM, ? ? ? ? ? ? ? ? ? ? ? ? // Chart subwindow index ? CANV_ELEMENT_PROP_COORD_X, ? ? ? ? ? ? ? ? ? ? ? ? // Form's X coordinate on the chart ? CANV_ELEMENT_PROP_COORD_Y, ? ? ? ? ? ? ? ? ? ? ? ? // Form's Y coordinate on the chart ? CANV_ELEMENT_PROP_WIDTH, ? ? ? ? ? ? ? ? ? ? ? ? ? // Element width ? CANV_ELEMENT_PROP_HEIGHT, ? ? ? ? ? ? ? ? ? ? ? ? ?// Element height ? CANV_ELEMENT_PROP_RIGHT, ? ? ? ? ? ? ? ? ? ? ? ? ? // Element right border ? CANV_ELEMENT_PROP_BOTTOM, ? ? ? ? ? ? ? ? ? ? ? ? ?// Element bottom border ? CANV_ELEMENT_PROP_ACT_SHIFT_LEFT, ? ? ? ? ? ? ? ? ?// Active area offset from the left edge of the element ? CANV_ELEMENT_PROP_ACT_SHIFT_TOP, ? ? ? ? ? ? ? ? ? // Active area offset from the upper edge of the element ? CANV_ELEMENT_PROP_ACT_SHIFT_RIGHT, ? ? ? ? ? ? ? ? // Active area offset from the right edge of the element ? CANV_ELEMENT_PROP_ACT_SHIFT_BOTTOM, ? ? ? ? ? ? ? ?// Active area offset from the bottom edge of the element ? CANV_ELEMENT_PROP_MOVABLE, ? ? ? ? ? ? ? ? ? ? ? ? // Element moveability flag ? CANV_ELEMENT_PROP_ACTIVE, ? ? ? ? ? ? ? ? ? ? ? ? ?// Element activity flag ? CANV_ELEMENT_PROP_INTERACTION, ? ? ? ? ? ? ? ? ? ? // Flag of interaction with the outside environment ? CANV_ELEMENT_PROP_COORD_ACT_X, ? ? ? ? ? ? ? ? ? ? // X coordinate of the element active area ? CANV_ELEMENT_PROP_COORD_ACT_Y, ? ? ? ? ? ? ? ? ? ? // Y coordinate of the element active area ? CANV_ELEMENT_PROP_ACT_RIGHT, ? ? ? ? ? ? ? ? ? ? ? // Right border of the element active area ? CANV_ELEMENT_PROP_ACT_BOTTOM, ? ? ? ? ? ? ? ? ? ? ?// Bottom border of the element active area ?}; #define CANV_ELEMENT_PROP_INTEGER_TOTAL (23) ? ? ? ? ?// Total number of integer properties #define CANV_ELEMENT_PROP_INTEGER_SKIP ?(0) ? ? ? ? ? // Number of integer properties not used in sorting //+------------------------------------------------------------------+


期貨量化軟件:赫茲量化窗體對象中的圖形和鼠標(biāo)事件的處理的評論 (共 條)

分享到微博請遵守國家法律
永川市| 蓬安县| 沙坪坝区| 大渡口区| 德庆县| 凤阳县| 新沂市| 虎林市| 麟游县| 什邡市| 汾阳市| 遵义县| 河池市| 阳春市| 土默特左旗| 三河市| 东阳市| 逊克县| 桂平市| 神木县| 长宁县| 宜黄县| 甘洛县| 酒泉市| 黔东| 梧州市| 镇原县| 宽城| 万山特区| 双柏县| 滨海县| 青田县| 德兴市| 金平| 鹤峰县| 文登市| 阳曲县| 绵竹市| 资源县| 通山县| 琼中|