Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: suspending program execution. kbhit() Pin
Eytukan9-Sep-06 0:10
Eytukan9-Sep-06 0:10 
AnswerRe: suspending program execution. kbhit() Pin
Eytukan29-Aug-06 23:47
Eytukan29-Aug-06 23:47 
GeneralRe: suspending program execution. kbhit() Pin
9ine30-Aug-06 0:38
9ine30-Aug-06 0:38 
GeneralRe: suspending program execution. kbhit() Pin
toxcct30-Aug-06 0:49
toxcct30-Aug-06 0:49 
Questionhow to proceed with Notification of emails using Mapi. Pin
uday kiran janaswamy29-Aug-06 23:10
uday kiran janaswamy29-Aug-06 23:10 
AnswerRe: how to proceed with Notification of emails using Mapi. Pin
_AnsHUMAN_ 29-Aug-06 23:51
_AnsHUMAN_ 29-Aug-06 23:51 
GeneralRe: how to proceed with Notification of emails using Mapi. Pin
uday kiran janaswamy30-Aug-06 1:45
uday kiran janaswamy30-Aug-06 1:45 
QuestionRich text formating and tags Pin
Cedric Moonen29-Aug-06 22:53
Cedric Moonen29-Aug-06 22:53 
Hello,

I would like to display formatted text from a file (so, with bold, italic, font size, ...) in a control on my application. So far, not a big problem: I can simply use a rich edit control and load a .rtf file and display it in the control.
But, what I need is that this file will be used by the user to specify how he wants the data to be displayed (so he just edit the file to his own taste) and the control need to display information from a class instance (we suppose that the instance is passed to a subclassed rich edit control). So, I was thinking of a kind of tag system: the user specify a tag where he want a class data to be displayed. Something like <GetParam1>. The way it is linked to the member function need still to be defined but it's not the problem here.

So, I will need to parse the string passed to the control, extract the tags an replace them by the 'output' (converted to text) of the member function (or member variable). I was wondering if things like that don't already exist ?
And also, what bothering me is that sometimes the function returns just an integer that need to be displayed in a table. When the user edit the file and has to put a long tag in a table, that could screw the design of the document. Is there a way to put a kind of 'invisible' tags in the rtf document ? They still need to be 'visible' by the user but won't interfere with the layout...

Or maybe somebody has another suggestion ? Any idea is welcome.

Thank you


Cédric Moonen
Software developer

Charting control [Updated - v1.1]

AnswerRe: Rich text formating and tags Pin
Waldermort30-Aug-06 1:08
Waldermort30-Aug-06 1:08 
QuestionRe: Rich text formating and tags Pin
David Crow30-Aug-06 3:13
David Crow30-Aug-06 3:13 
AnswerRe: Rich text formating and tags Pin
Cedric Moonen30-Aug-06 3:27
Cedric Moonen30-Aug-06 3:27 
Questionsize of structure variable Pin
Vishvanathan29-Aug-06 21:28
Vishvanathan29-Aug-06 21:28 
AnswerRe: size of structure variable Pin
Maxwell Chen29-Aug-06 21:44
Maxwell Chen29-Aug-06 21:44 
AnswerRe: size of structure variable Pin
Cedric Moonen29-Aug-06 21:45
Cedric Moonen29-Aug-06 21:45 
GeneralRe: size of structure variable Pin
Vishvanathan29-Aug-06 22:26
Vishvanathan29-Aug-06 22:26 
QuestionHard Disk serial Number Pin
vijay_aroli29-Aug-06 21:04
vijay_aroli29-Aug-06 21:04 
AnswerRe: Hard Disk serial Number Pin
Hamid_RT29-Aug-06 21:55
Hamid_RT29-Aug-06 21:55 
QuestionRe: Hard Disk serial Number Pin
David Crow30-Aug-06 3:17
David Crow30-Aug-06 3:17 
QuestionShow Desktop Problem-Minimizes all the window Pin
payal33529-Aug-06 20:54
payal33529-Aug-06 20:54 
AnswerRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 0:30
Nibu babu thomas30-Aug-06 0:30 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
payal33530-Aug-06 1:02
payal33530-Aug-06 1:02 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 1:07
Nibu babu thomas30-Aug-06 1:07 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
payal33530-Aug-06 19:21
payal33530-Aug-06 19:21 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 19:37
Nibu babu thomas30-Aug-06 19:37 
QuestionContext menu problem Pin
gajendrakashyap29-Aug-06 20:19
gajendrakashyap29-Aug-06 20:19 

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.