Question!
I have a text box that I use to input text with, it works great...
Now, I want a preview dialog box to preview the dialog box windows issues prior to a login.
So I built it identical to the Windows dialog box (On NT only, 98 uses MessageBox)..
Everything is great except I notice NT's is read only on the text box displaying the official warning (Whatever company or Gov institude that implements these)...
So I have two text boxes. The difference between them is that #1 is NOT read only and is VSCROLL.
#2 duplicates Windows NT textbox and does not have VSCROLL and is READONLY.
Works:
Control Add TextBox,hDlg,%IDMAIN_TEXT2,g_MsgText,5,45,240,80,_
%WS_VSCROLL Or %ES_MULTILINE Or %ES_WANTRETURN Or %ES_LEFT Or %WS_TABSTOP,%WS_EX_CLIENTEDGE
Fails:
Control Add TextBox,pDlg,%ID_PREV_TEXT1,sText,10,10,260,157,
%ES_READONLY Or %ES_MULTILINE Or %ES_WANTRETURN Or %ES_LEFT Or %WS_TABSTOP,%WS_EX_CLIENTEDGE
The issue here is that in Windows NT I can highlight the text and drag my mouse down.
in *MY* text box it just flat out CHOPS the text off and does not display it below the end of the textbox...
Download this app if you want a REALLY good look.
It's not a huge deal but I want it to duplicate NT (It's a "Preview" button)..
http://www.tngbbs.com/ccs/files/logonmsg.zip
Anyway, perhaps I'm missing something, and in addition, how do I get the title bar to have text and have ONE X on the right side WITHOUT having the Windows icon?
I'm using %WS_CAPTION Or %WS_SYSMENU right now, not quite right...
Thanks,
Scott
------------------
Scott
I have a text box that I use to input text with, it works great...
Now, I want a preview dialog box to preview the dialog box windows issues prior to a login.
So I built it identical to the Windows dialog box (On NT only, 98 uses MessageBox)..
Everything is great except I notice NT's is read only on the text box displaying the official warning (Whatever company or Gov institude that implements these)...
So I have two text boxes. The difference between them is that #1 is NOT read only and is VSCROLL.
#2 duplicates Windows NT textbox and does not have VSCROLL and is READONLY.
Works:
Control Add TextBox,hDlg,%IDMAIN_TEXT2,g_MsgText,5,45,240,80,_
%WS_VSCROLL Or %ES_MULTILINE Or %ES_WANTRETURN Or %ES_LEFT Or %WS_TABSTOP,%WS_EX_CLIENTEDGE
Fails:
Control Add TextBox,pDlg,%ID_PREV_TEXT1,sText,10,10,260,157,
%ES_READONLY Or %ES_MULTILINE Or %ES_WANTRETURN Or %ES_LEFT Or %WS_TABSTOP,%WS_EX_CLIENTEDGE
The issue here is that in Windows NT I can highlight the text and drag my mouse down.
in *MY* text box it just flat out CHOPS the text off and does not display it below the end of the textbox...
Download this app if you want a REALLY good look.
It's not a huge deal but I want it to duplicate NT (It's a "Preview" button)..
http://www.tngbbs.com/ccs/files/logonmsg.zip
Anyway, perhaps I'm missing something, and in addition, how do I get the title bar to have text and have ONE X on the right side WITHOUT having the Windows icon?
I'm using %WS_CAPTION Or %WS_SYSMENU right now, not quite right...

Thanks,
Scott
------------------
Scott
Comment