Displaying text in MDI
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi all. Happy chinese new year. Do anyone know how to display simple text in a MDI application? Thank you.
In an MDI application, you first create the frame window. Then, you create child frames on request, and fill these frames with view windows. Each child frame owns one and only one view, unless there's a tab control inside the frame. If you need to display text in a view, override the view's
ON_WM_PAINT
handler and use theTextOut
function of theCDC
class. This will draw text on your view. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.