Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dialog: how to change edit to static?
#3
Thanks, Gintaras.
I modify the code as below:
Function Dialog136
Code:
Copy      Help
;messages2
sel wParam
,case 3 SendMessage id(4 hDlg) EM_SETREADONLY !but(3 hDlg) 0
ret 1

I thinks it should not input any thing for id 4 firstly, but I start the dialog, the id 4 can "input", but I check/un-check one time for id 3, the id 4 will not "input", did I need to modify the code?

BTW, can I directly get the code from "Dialog Editor"?
Function Dialog136
Code:
Copy      Help
SendMessage id(4 hDlg) EM_SETREADONLY !but(3 hDlg) 0


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)