Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFONTDialog usage Pin
ForNow18-Feb-09 17:09
ForNow18-Feb-09 17:09 
GeneralRe: CFONTDialog usage Pin
Iain Clarke, Warrior Programmer18-Feb-09 22:17
Iain Clarke, Warrior Programmer18-Feb-09 22:17 
GeneralRe: CFONTDialog usage Pin
ForNow18-Feb-09 23:04
ForNow18-Feb-09 23:04 
GeneralRe: CFONTDialog usage Pin
Iain Clarke, Warrior Programmer18-Feb-09 23:17
Iain Clarke, Warrior Programmer18-Feb-09 23:17 
QuestionReturn Code from EM_GETCHARFORMAT Pin
ForNow17-Feb-09 6:36
ForNow17-Feb-09 6:36 
QuestionRe: Return Code from EM_GETCHARFORMAT Pin
David Crow17-Feb-09 6:38
David Crow17-Feb-09 6:38 
AnswerRe: Return Code from EM_GETCHARFORMAT Pin
ForNow17-Feb-09 7:14
ForNow17-Feb-09 7:14 
AnswerRe: Return Code from EM_GETCHARFORMAT Pin
krmed18-Feb-09 0:39
krmed18-Feb-09 0:39 
I believe if you read carefully that the structure receives the formatting for the FIRST character in the selection, and the dwMask specifies which attributes are consistent througout the selection.

According to MSDN:
lParam
Pointer to a CHARFORMAT structure. If the selection formatting
is being retrieved, the structure receives the attributes of
the first character and the dwMask member specifies which
attributes are consistent throughout the entire selection.


Hope that helps.

Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

Questionadaptive niblack algorithm Pin
Bindas Samanta17-Feb-09 4:14
Bindas Samanta17-Feb-09 4:14 
AnswerRe: adaptive niblack algorithm Pin
Stuart Dootson17-Feb-09 4:31
professionalStuart Dootson17-Feb-09 4:31 
JokeRe: adaptive niblack algorithm Pin
SandipG 17-Feb-09 4:54
SandipG 17-Feb-09 4:54 
GeneralRe: adaptive niblack algorithm Pin
Stuart Dootson17-Feb-09 6:02
professionalStuart Dootson17-Feb-09 6:02 
JokeRe: adaptive niblack algorithm Pin
CPallini17-Feb-09 22:07
mveCPallini17-Feb-09 22:07 
Questioncreate file directly Pin
josip cagalj17-Feb-09 2:04
josip cagalj17-Feb-09 2:04 
AnswerRe: create file directly Pin
«_Superman_»17-Feb-09 2:26
professional«_Superman_»17-Feb-09 2:26 
AnswerRe: create file directly Pin
Stuart Dootson17-Feb-09 2:44
professionalStuart Dootson17-Feb-09 2:44 
GeneralRe: create file directly Pin
josip cagalj17-Feb-09 3:23
josip cagalj17-Feb-09 3:23 
GeneralRe: create file directly Pin
«_Superman_»17-Feb-09 4:05
professional«_Superman_»17-Feb-09 4:05 
GeneralRe: create file directly Pin
Stuart Dootson17-Feb-09 4:15
professionalStuart Dootson17-Feb-09 4:15 
QuestionInterface not responding Pin
MsmVc17-Feb-09 1:32
MsmVc17-Feb-09 1:32 
AnswerRe: Interface not responding Pin
Cedric Moonen17-Feb-09 1:40
Cedric Moonen17-Feb-09 1:40 
GeneralRe: Interface not responding Pin
MsmVc17-Feb-09 1:51
MsmVc17-Feb-09 1:51 
GeneralRe: Interface not responding Pin
Cedric Moonen17-Feb-09 2:07
Cedric Moonen17-Feb-09 2:07 
QuestionResizing frame Pin
baerten17-Feb-09 0:51
baerten17-Feb-09 0:51 
AnswerRe: Resizing frame Pin
Stuart Dootson17-Feb-09 1:03
professionalStuart Dootson17-Feb-09 1:03 

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.