Can you anyone suggest how to disable mouse right click when they clicked on Rich Tex Control. My business scenario is to display data from a COM object and not allow to edit. I am able to do this by changing Read-only option to yes. But the user able to see pop up menu when they right click on the control RCT.
1. Is there any way to disable mouse right click or avoid displaying pop up menu.
2. Ctrl+tab is allowing to focus on next control available in the form when but user want to focus to next control when clicks on TAB button
Thanks in Advance.
- Founder/Site Admin
- Posts: 2912
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Code: Select all
Rich Text Control: rtfDisplay Message Actions On SAM_Create ! ! Option: disable the control to get rid of tabbing to it and having no popup menu. When disable is not wanted, see other messages below ! Call SalDisableWindow( hWndItem ) On SAM_ContextMenu ! Do not show right mouse popup menu Return FALSE On WM_NEXTDLGCTL ! Post message to form to force the focus on the next control Call SalPostMsg( hWndForm, WM_NEXTDLGCTL, wParam, lParam )
See attachment. TD 6.1 file format
Kindly suggest any guide/pdf to learn more about user32.dll functions.
Who is online
Users browsing this forum: [Ccbot] and 0 guests