Thư viện tri thức trực tuyến
Kho tài liệu với 50,000+ tài liệu học thuật
© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Tài liệu Thêm Tooltip cho các control trong VISUAL C++6.0 pdf
Nội dung xem thử
Mô tả chi tiết
Thêm ToolTip cho các control trong
VISUAL C++ 6.0
V<n Chí Nam, Nguy宇n A泳c Hoàng H衣
Khoa Công ngh羽 Thông tin, tr逢運ng AH KHTN TP.HCM
vcnam@fit.hcmuns.edu.vn, ndhha@fit.hcmuns.edu.vn
Phiên bVn cfp nhft ngày 15/05/2005
Tooltip là m瓜t dòng đ挨n chú thích hi羽n ra bên c衣nh control khi chu瓜t di chuy吋n
phía trên "khu v詠c" c栄a đ嘘i t逢嬰ng. Tooltip th逢運ng đ逢嬰c dùng nh逢 là m瓜t ghi chú h逢噂ng
d磯n ng逢運i s穎 d映ng ch泳c n<ng c栄a đ嘘i t逢嬰ng đang h逢噂ng đ院n.
MFC h厩 tr嬰 m瓜t l噂p đ吋 th詠c hi羽n công vi羽c này. Aó là l噂p CToolTipCtrl.
GI閏I THI烏U V陰 CTOOLTIPCTRL
Các ch泳c n<ng cu違 l噂p này chúng ta có th吋 tìm hi吋u thêm 荏 MSDN, 荏 đây tôi ch雨
ghi l衣i tóm t逸t các hàm có th吋 dùng c栄a CToolTipCtrl :
Create Creates a tool tip control and attaches it to a CToolTipCtrl object.
GetText Retrieves the text that a tool tip control maintains for a tool.
GetToolInfo Retrieves the information that a tool tip control maintains about a
tool.
SetToolInfo Sets the information that a tool tip maintains for a tool.
GetToolCount Retrieves a count of the tools maintained by a tool tip control.
GetDelayTime Retrieves the initial, pop-up, and reshow durations currently set for
a tool tip control.
SetDelayTime Sets the initial, pop-up, and reshow durations for a tool tip control.
GetMargin Retrieves the top, left, bottom, and right margins set for a tool tip
window.
SetMargin Sets the top, left, bottom, and right margins for a tool tip window.
GetMaxTipWidth Retrieves the maximum width for a tool tip window.