Ocean
ToolTip.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
8
#ifndef META_OCEAN_PLATFORM_WIN_TOOL_TIP_H
9
#define META_OCEAN_PLATFORM_WIN_TOOL_TIP_H
10
11
#include "
ocean/platform/win/Win.h
"
12
13
namespace
Ocean
14
{
15
16
namespace
Platform
17
{
18
19
namespace
Win
20
{
21
22
/**
23
* This class implements tool tip functionalities.
24
*/
25
class
OCEAN_PLATFORM_WIN_EXPORT
ToolTip
26
{
27
public
:
28
29
/**
30
* Adds a new tool tip to a window.
31
* @param handle The handle of the window to which the tool tip will be added, must be valid
32
* @param text The text of the tool tip
33
* @return True, if succeeded
34
*/
35
static
bool
addToolTip
(
const
HWND handle,
const
std::wstring& text);
36
};
37
38
}
39
40
}
41
42
}
43
44
#endif
// META_OCEAN_PLATFORM_WIN_TOOL_TIP_H
Win.h
Ocean::Platform::Win::ToolTip
This class implements tool tip functionalities.
Definition:
ToolTip.h:26
Ocean::Platform::Win::ToolTip::addToolTip
static bool addToolTip(const HWND handle, const std::wstring &text)
Adds a new tool tip to a window.
Ocean
The namespace covering the entire Ocean framework.
Definition:
Accessor.h:15
impl
ocean
platform
win
ToolTip.h
Generated on Wed Nov 13 2024 18:48:19 for Ocean by
1.9.1