![]() |
Return and multiline |
Post Reply ![]() |
Author | |
Paddy ![]() Groupie ![]() Joined: 28 July 2003 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() Posted: 31 August 2006 at 8:15am |
Hi,
I have an multiline edit for inserting an address: CXTPPropertyGridItem* m_GridItem = m_Order->m_GridItem->AddChildItem(new CXTPPropertyGridItem(_T("Address"), _T(""))); m_GridItem->SetMultiLinesCount(6); How can I use the return inside the GridItem? I've tried it with: address.m_GridItem->SetEditStyle(ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN); But no success. Can anyone give me an hint? Greets, Patrik |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Users can press Ctrl+Enter :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Paddy ![]() Groupie ![]() Joined: 28 July 2003 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
thanks for the info. It is clear people can use ctrl+enter - but not all windows users know that ![]() Most of them want the standard behaviour like in notepad: press return and you get a new line. As CXTPPropertygrid already supports multilines I think it should also support ES_WANTRETURN. What I would need is getting a new line by just pressing return. Anyone has an hint? Thanks, Patrik |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |