Initial
This commit is contained in:
42
tooltip/TOOLINFO.HPP
Normal file
42
tooltip/TOOLINFO.HPP
Normal 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
|
||||
Reference in New Issue
Block a user