mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:55:42 +00:00
[RAPPS] CAppRichEdit: Add a new class that handles filling the richtext control
This commit is contained in:
parent
1807dbfd6d
commit
d8b773b190
4 changed files with 123 additions and 108 deletions
|
@ -72,20 +72,6 @@ VOID CopyTextToClipboard(LPCWSTR lpszText)
|
|||
CloseClipboard();
|
||||
}
|
||||
|
||||
VOID SetWelcomeText()
|
||||
{
|
||||
ATL::CStringW szText;
|
||||
|
||||
szText.LoadStringW(IDS_WELCOME_TITLE);
|
||||
NewRichEditText(szText, CFE_BOLD);
|
||||
|
||||
szText.LoadStringW(IDS_WELCOME_TEXT);
|
||||
InsertRichEditText(szText, 0);
|
||||
|
||||
szText.LoadStringW(IDS_WELCOME_URL);
|
||||
InsertRichEditText(szText, CFM_LINK);
|
||||
}
|
||||
|
||||
VOID ShowPopupMenu(HWND hwnd, UINT MenuID, UINT DefaultItem)
|
||||
{
|
||||
HMENU hMenu = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue