Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - XTP_PGN_REQUESTEDIT
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTP_PGN_REQUESTEDIT

 Post Reply Post Reply
Author
Message
asparagusx View Drop Down
Groupie
Groupie


Joined: 06 February 2007
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote asparagusx Quote  Post ReplyReply Direct Link To This Post Topic: XTP_PGN_REQUESTEDIT
    Posted: 19 August 2024 at 11:12am
Hallo

Is it possible to 'select' all the text in an inPlaceEdit control, when receiving a grid notification of the above value. I can get a handle to the underlying CEdit control, then using SetSel(0,-1), it momentarily selects the text, but then during the message processing within CJ, the focus is removed and the selection with it.

Any assistance on to how to achieve this?

Anton
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 668
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2024 at 7:42am
Have you tried to use
yourGrid.GetEditOptions()->m_bSelectTextOnEdit = TRUE;
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.