07-19-2007, 01:52 AM
Maybe I am trying to do something beyond my level (actually definitely!) but still I might be able to muddle through with your help.
You say:
and then to place this text after the
line
The problem is that I don't know where you mean to put all this? You say "paste here" but where is "here" In the ShowNote Function? A new function?
You say
What do you mean? What kind of things do I put in there? What is significant of this construction?
Sorry to be so poor at programming knowledge. I have gotten so so far with your help. If I can get one simple working example I can go from there.
Thanks again,
Stuart
You say:
Quote:int htb=ShowNote(...)
int h=child("" "RichEdit20" htb)
now copy code from Dialog_richedit_colors and paste here
the code is between SendMessage and SendMessage
and then to place this text after the
line
SendMessage h EM_SETBKGNDCOLOR 0 bcol
CHARFORMAT cf.cbSize=sizeof(CHARFORMAT)
cf.dwMask=CFM_COLOR|CFM_BOLD|CFM_FACE|CFM_SIZE
cf.crTextColor=tcol
cf.dwEffects=CFE_BOLD
strncpy(&cf.szFaceName "Comic Sans MS" 31)
cf.yHeight=400 ;;twips
SendMessage h EM_SETCHARFORMAT SCF_ALL &cfThe problem is that I don't know where you mean to put all this? You say "paste here" but where is "here" In the ShowNote Function? A new function?
You say
Quote:what do I do with the three dots (...) after ShowNote. What should I fill this in with?Anything.
What do you mean? What kind of things do I put in there? What is significant of this construction?
Sorry to be so poor at programming knowledge. I have gotten so so far with your help. If I can get one simple working example I can go from there.
Thanks again,
Stuart
