This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

42
tooltip/TOOLINFO.HPP Normal file
View File

@@ -0,0 +1,42 @@
#ifndef _TOOLTIP_TOOLINFO_HPP_
#define _TOOLTIP_TOOLINFO_HPP_
#ifndef _COMMON_WINDOWS_HPP_
#include <common/windows.hpp>
#endif
#ifndef _COMMON_COMMCTRL_HPP_
#include <common/commctrl.hpp>
#endif
#ifndef _COMMON_RECTANGLE_HPP_
#include <common/rect.hpp>
#endif
class PureToolInfo : private TOOLINFO
{
public:
enum Flags{None=0,IDIsHwnd=TTF_IDISHWND,CenterTip=TTF_CENTERTIP,RTLReading=TTF_RTLREADING,SubClass=TTF_SUBCLASS};
PureToolInfo(void);
PureToolInfo(const PureToolInfo &somePureToolInfo);
PureToolInfo(const TOOLINFO &someTOOLINFO);
virtual ~PureToolInfo();
PureToolInfo &operator=(const PureToolInfo &somePureToolInfo);
PureToolInfo &operator=(const TOOLINFO &someTOOLINFO);
WORD operator==(const PureToolInfo somePureToolInfo)const;
operator TOOLINFO&(void);
UINT flags(void)const;
void flags(UINT flags);
HWND hwnd(void)const;
void hwnd(HWND hWnd);
UINT toolID(void)const;
void toolID(UINT toolID);
Rect rect(void)const;
void rect(const Rect &toolRect);
HINSTANCE resInst(void)const;
void resInst(HINSTANCE resInst);
LPTSTR szText(void)const;
void szText(LPTSTR szText);
private:
UINT sizeInfo(void)const;
void sizeInfo(UINT sizeInfo);
void zeroInit(void);
};
#endif