cricheditctrl on cmdichildwnd
-
Hello, class CRICH : CRichEditCtrl { afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); }; I have 5 CRICH boxes on CMDIChildWnd which are shown properly with a cursor in the first box . That is it has focus but once if I press a mouse cursor on the box the cursor disappears and none of the boxes has focus.If I click the mouse on the box LButtonDown message handler is not called. What must be the problem ? thanks Prithaa
-
For that we Need to set Focus for the 2nd box once i u have pressed enter..n u should monitor the window properly
-
For that we Need to set Focus for the 2nd box once i u have pressed enter..n u should monitor the window properly
-
Hello, Thanks When 5 boxes appear on the window and I move the mouse on the box the cursor should change from arrow cursor to text type line cursor but the cursor type doesnt change. Pritha
see first you write down all what needs to be done. Don't keep on adding requirements.
-
see first you write down all what needs to be done. Don't keep on adding requirements.
Hello, Thanks for your reply. I am not adding to my requirements .I am just saying that the cursor type doesnt cange hence I am not able to handle the mouse LButtonDown message. If it had changed than I would have been able to handle the mouse messages. Prithaa
-
Hello, Thanks for your reply. I am not adding to my requirements .I am just saying that the cursor type doesnt cange hence I am not able to handle the mouse LButtonDown message. If it had changed than I would have been able to handle the mouse messages. Prithaa
what is that you have done to change the cursor type?
-
what is that you have done to change the cursor type?
-
Hello, thansk for your reply. I have done nothing to change the type but I thought since when the mouse goes on the box the arrow point automatically changes to text type pointer. But somewhere I feel the box is not identified by the mouse . prithaa
i don't think what you need will automatically happen. you are not setting the cursor. you are setting the focus to the editbox. you can always hide the cursor but AFAIK changing the cursor to text type pointer is not possible
-
i don't think what you need will automatically happen. you are not setting the cursor. you are setting the focus to the editbox. you can always hide the cursor but AFAIK changing the cursor to text type pointer is not possible
-
Your Welcome and Please let me know if you could change the cursor to text pointer.