To avoid deselction of selected character when clicked on the selected character in CRichEditView.
-
I have used the CRicheEditView. I am selcting the character in the editor. When i clcik on the selected character it getting deselected and cursor is moving into begining of the charcter. How to avoid his deselction and movement of cursor?
Raghu
-
I have used the CRicheEditView. I am selcting the character in the editor. When i clcik on the selected character it getting deselected and cursor is moving into begining of the charcter. How to avoid his deselction and movement of cursor?
Raghu
maybe you need to search for Drag n' Drop implementation... otherwise I don't see what you're trying to do, as it appears to me like a standard Windows behavior.
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
maybe you need to search for Drag n' Drop implementation... otherwise I don't see what you're trying to do, as it appears to me like a standard Windows behavior.
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
Hi thank you for your Suggestion. I am using CRicheDotView as hex editor and using selected single nibble as a cursor. But when it is selcted i want to avoid clciking on selected nibble again. In my cas whats happening is when i clicked on the selected character it deselcting. I dont that to happen. Also Drag and drop works for only OLE Items i think.
Raghu
-
Hi thank you for your Suggestion. I am using CRicheDotView as hex editor and using selected single nibble as a cursor. But when it is selcted i want to avoid clciking on selected nibble again. In my cas whats happening is when i clicked on the selected character it deselcting. I dont that to happen. Also Drag and drop works for only OLE Items i think.
Raghu
ahh, Hex editor, that's different. I believe you have to overload the event handler of the "Mouse Left Button Down" (I don't remember by heart currently) to make the automatic selection
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
-
ahh, Hex editor, that's different. I believe you have to overload the event handler of the "Mouse Left Button Down" (I don't remember by heart currently) to make the automatic selection
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]
HI, Even I have overloadd the OnLButtonDown and checking for CrSel.cpMin and cpMax position as well. It is working fine in Debugging mode, but when exected without debug mode it is giving problem.
Raghu
-
Hi thank you for your Suggestion. I am using CRicheDotView as hex editor and using selected single nibble as a cursor. But when it is selcted i want to avoid clciking on selected nibble again. In my cas whats happening is when i clicked on the selected character it deselcting. I dont that to happen. Also Drag and drop works for only OLE Items i think.
Raghu
If you're still struggling, I've used Eugene Pustovoyt[^]'s CPPDumpCtrl[^] in the past with great success. A nice little hex / ascii display / editor. Though I think the article name needs work! Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
-
If you're still struggling, I've used Eugene Pustovoyt[^]'s CPPDumpCtrl[^] in the past with great success. A nice little hex / ascii display / editor. Though I think the article name needs work! Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
Hi, Thank you for sharing infromation. Please let me know how can i use tool tip here?
Raghu
-
If you're still struggling, I've used Eugene Pustovoyt[^]'s CPPDumpCtrl[^] in the past with great success. A nice little hex / ascii display / editor. Though I think the article name needs work! Iain.
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
Thank you for your sharing information i think it is helpful for me.
Raghu
-
Hi, Thank you for sharing infromation. Please let me know how can i use tool tip here?
Raghu
I have no idea, off the top of my head. When I display the hex data, anything I want to know about is on the screen already (address, hex value, and ascii value). As there is no additional information, I don't need tooltips for the control. As it inherits from CWnd, I imagine you can use CWnd::EnableTooltip(s) (can't remember exactly). But when I use tooltips, I roll my own, as I like tips that vary depending on where I am in the control. There are many articles on tooltips, and I would also recommend you look at CPopupText from MSDN magazine June 2001, written by Paul DiLascia. Back then I was learning [*], and his articles taught me a lot. Iain. [*] I still am - but I hope I have the easy stuff in my head now!
Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.
-
HI, Even I have overloadd the OnLButtonDown and checking for CrSel.cpMin and cpMax position as well. It is working fine in Debugging mode, but when exected without debug mode it is giving problem.
Raghu
Raghu Panduranga wrote:
It is working fine in Debugging mode, but when exected without debug mode it is giving problem
any error message by chance ?
[VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]