About this tag
The rich edit tag on WindowsForum.com covers topics related to the Windows rich edit control, a component used for displaying and editing formatted text. Discussions include programming with rich edit controls in C++ and Win32 API, such as drawing borders and background colors on rich edit windows. Additionally, the tag addresses issues with rich edit controls in specific Windows versions, like incorrect display of nested tables in RTF documents on Windows Vista and Windows Server 2008. These threads provide troubleshooting and code examples for developers working with rich edit controls.
-
F
Windows 11 Drawing a border and background color with a handle to a window.
``` #include <Windows.h> #include <Richedit.h> HWND hwnd; HWND panel; HWND richEdit; WNDPROC oldStaticProc; int WINAPI WinMain(HINSTANCE, HINSTANCE, PSTR, int); LRESULT CALLBACK WindowProcedure(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); LRESULT CALLBACK StaticProc(HWND hwnd, UINT...- famatto
- Thread
- background border drawing c++ control handling device context error handling event gdi graphics opengl paint handling rich edit static control user interface window procedure window resizing windows api wm_paint
- Replies: 1
- Forum: Programming and Scripting