Click here to Skip to main content
16,011,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralClickety Pin
Jon Sagara26-Jun-03 15:13
Jon Sagara26-Jun-03 15:13 
Generalsetting file associate Pin
pnpfriend26-Jun-03 8:37
pnpfriend26-Jun-03 8:37 
GeneralReading the registry Pin
Shay Harel26-Jun-03 7:58
Shay Harel26-Jun-03 7:58 
GeneralRe: Reading the registry Pin
pnpfriend26-Jun-03 8:35
pnpfriend26-Jun-03 8:35 
GeneralRe: Reading the registry Pin
Shay Harel26-Jun-03 8:39
Shay Harel26-Jun-03 8:39 
GeneralOnscreen Keyboard (like the example here) - Focus problems Pin
fluxt26-Jun-03 7:28
fluxt26-Jun-03 7:28 
GeneralRe: Onscreen Keyboard (like the example here) - Focus problems Pin
Ryan Binns26-Jun-03 15:45
Ryan Binns26-Jun-03 15:45 
GeneralText editing app with special objects Pin
PaulFrazee26-Jun-03 6:48
PaulFrazee26-Jun-03 6:48 
I am working on an application that works like a text editor, but includes special objects that, when clicked, display a selection of text with which it will replace itself. The app uses rich edit, of course (MFC). I doubt activex will work here, and even if it will, I can't figure it out, so if that is the answer, I will need help.

What I originally did was use the control's protected formatting to seperate those objects from the rest of the text, and used the object's protected text as its name to keep track of it (aka, the object 'objObject' would read objObject in the text). That worked well, till I realized that when I select something to display (when in the mode that does that), I lose track of its identifying text. I have to keep track of which object is which, since it manages the behavior of the object (of course).

Since I am going to be changing the text, I cannot rely on that. I attempted to extend the CHARFORMAT structure with my own variable, so that I could keep track myself, but to no avail (perhaps I did it wrong - anybody else gotten that to work?). I also tried using CHARFORMAT2, but I didn't get that working either.

Any ideas? Thanks.

Fight till it kills you.
GeneralRe: Text editing app with special objects Pin
PaulFrazee26-Jun-03 8:53
PaulFrazee26-Jun-03 8:53 
GeneralRe: Text editing app with special objects Pin
Ryan Binns26-Jun-03 14:43
Ryan Binns26-Jun-03 14:43 
GeneralRe: Text editing app with special objects Pin
PaulFrazee26-Jun-03 17:33
PaulFrazee26-Jun-03 17:33 
GeneralRe: Text editing app with special objects Pin
Ryan Binns26-Jun-03 18:08
Ryan Binns26-Jun-03 18:08 
GeneralRe: Text editing app with special objects Pin
PaulFrazee27-Jun-03 4:04
PaulFrazee27-Jun-03 4:04 
GeneralRe: Text editing app with special objects Pin
Ryan Binns27-Jun-03 4:12
Ryan Binns27-Jun-03 4:12 
GeneralRe: Text editing app with special objects Pin
PaulFrazee27-Jun-03 5:19
PaulFrazee27-Jun-03 5:19 
GeneralRe: Text editing app with special objects Pin
Ryan Binns27-Jun-03 5:21
Ryan Binns27-Jun-03 5:21 
GeneralJust learning STL.. easy question.. Pin
RobJones26-Jun-03 6:33
RobJones26-Jun-03 6:33 
GeneralRe: Just learning STL.. easy question.. Pin
keegan26-Jun-03 6:37
keegan26-Jun-03 6:37 
GeneralRe: Just learning STL.. easy question.. Pin
John M. Drescher26-Jun-03 6:39
John M. Drescher26-Jun-03 6:39 
GeneralRe: Just learning STL.. easy question.. Pin
RobJones26-Jun-03 6:56
RobJones26-Jun-03 6:56 
GeneralRe: Just learning STL.. easy question.. Pin
John M. Drescher26-Jun-03 7:14
John M. Drescher26-Jun-03 7:14 
Generalanother quick question.. Pin
RobJones26-Jun-03 8:37
RobJones26-Jun-03 8:37 
GeneralRe: another quick question.. Pin
John M. Drescher26-Jun-03 8:52
John M. Drescher26-Jun-03 8:52 
GeneralRe: another quick question.. Pin
RobJones26-Jun-03 9:14
RobJones26-Jun-03 9:14 
GeneralRe: another quick question.. Pin
CyberDen26-Jun-03 9:36
CyberDen26-Jun-03 9:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.