When you do not pop up private message you can read them in the main chat
I wonder if it is possible to write them in red for example to find them easely later
Thanks
Have a good day
Private messages
Moderator: Moderators
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
actually
would change the formatting for the textbox to bold red, and I'm pretty sure it would work with dc++ (works with bcdc anyway), you could also use getSelectionCharFormat() to get the old style and reapply it after you insert the new line (ie so only the one line is in the new formatting everything else is normal)
Code: Select all
CHARFORMAT cf;
cf.dwMask = CFM_BOLD;
cf.dwEffects = CFE_BOLD;
cf.crTextColor = RGB(255,0,0);
ctrlClient.SetSelectionCharFormat(cf);
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
BCDC already uses a CRichEditCtrl instead of a CEditCtrl, so it will support various text styles.
It was converted as part of the fix/attempted fix for those people who had the bug where chat wouldn't scroll down (when they weren't browsing their history).
Code: Select all
CRichEditCtrl ctrlClient;