hi!
i tried to place a Ritch Edit control on a dialog window and run the app (win32, VC++6). But the dialog window isn't displayed. When i delete the Ritch Edit, it dispays allwrigth. why is that please?
thx.
hi!
i tried to place a Ritch Edit control on a dialog window and run the app (win32, VC++6). But the dialog window isn't displayed. When i delete the Ritch Edit, it dispays allwrigth. why is that please?
thx.
GameJolt: https://gamejolt.com/@KasunL
Game Development Youtube: https://is.gd/XyhYoP
Amateur IT Blog: http://everything-geeky.blogspot.com/
(and, sorry for my amateur English)
Did you call InitCommonControls()?
i just did so and linked the comctl32 lib. but no change. the program runs allright, but the dialog is not displayed either on XP or 98
GameJolt: https://gamejolt.com/@KasunL
Game Development Youtube: https://is.gd/XyhYoP
Amateur IT Blog: http://everything-geeky.blogspot.com/
(and, sorry for my amateur English)
You cannot create a dialog in Visual C++ if the dialog template has a Rich Edit control
You need to call LoadLibrary to load the rich-edit DLL: LoadLibrary(TEXT("Riched20.dll"));