
Two things to note for those struggling with an invisible Rich Edit child in a dialog:
1. You must use the following code _before_ creating the dialog:
LOCAL hRichEd AS LONG
LOCAL CC1 AS INIT_COMMON_CONTROLSEX
hRichEd = LoadLibrary("RICHED32.DLL")
CC1.dwSize=SIZEOF(CC1)
CC1.dwICC=%ICC_WIN95_CLASSES
INITCOMMONCONTROLSEX CC1
Create_IDD_DIALOG1 0
2. In the CONTROL ADD "RICHEDIT" section, add the following, missing params: %WS_VISIBLE OR %WS_CHILD
Thx a bunch
FF.
------------------
Leave a comment: