I am trying to create a textbox with read-only attributes.
Control Add Textbox, hDlg, %MesgBox, "", 130, 15, 320, 15
The above command displays the textbox but the textbox is not "read-only". When I append %ES_READONLY like so . . .
Control Add TextBox, hDlg, %MesgBox, "", 130, 15, 320, 15, %ES_READONLY
the textbox dissappears from the dialog. It is still there but not visible. Any ideas as to what I am doing wrong?
As always, any and all help and input is very much appreciated
Wesley Brown
ps: Eariler today I ran across the "transparent frame" problem but found the answer by searching the forum. What I found out was that %WS_EX_TRANSPARENT must be appended to "Control Add Frame" commands so that whatever is behind the window will not show through. Are these two problems even remotely related or am I just lucky
?
------------------
Control Add Textbox, hDlg, %MesgBox, "", 130, 15, 320, 15
The above command displays the textbox but the textbox is not "read-only". When I append %ES_READONLY like so . . .
Control Add TextBox, hDlg, %MesgBox, "", 130, 15, 320, 15, %ES_READONLY
the textbox dissappears from the dialog. It is still there but not visible. Any ideas as to what I am doing wrong?
As always, any and all help and input is very much appreciated

Wesley Brown
ps: Eariler today I ran across the "transparent frame" problem but found the answer by searching the forum. What I found out was that %WS_EX_TRANSPARENT must be appended to "Control Add Frame" commands so that whatever is behind the window will not show through. Are these two problems even remotely related or am I just lucky

------------------
Comment