How do I set the EM_MULTILINE for a edit control on a dialogbox? Is there something like SetDlgItemStyle? /Tcore
Tcore, i think you've just to add ES_MULTILINE as style angelo
well, if it's a dialogbox and you didn't create the window manually you should just open up the resource editor and add the multiline style (it's ES_MULTILINE, i think). if you did create it manually you can SetWindowLong() (using GetDlgItem() to get the edit's hwnd) to set the style.