Click here to Skip to main content
15,913,758 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dynamic double dimension Pin
kakan8-Nov-05 23:11
professionalkakan8-Nov-05 23:11 
QuestionRe: Dynamic double dimension Pin
Arrun8-Nov-05 23:40
Arrun8-Nov-05 23:40 
AnswerRe: Dynamic double dimension Pin
kakan9-Nov-05 0:07
professionalkakan9-Nov-05 0:07 
QuestionRe: Dynamic double dimension Pin
Arrun9-Nov-05 0:27
Arrun9-Nov-05 0:27 
AnswerRe: Dynamic double dimension Pin
kakan9-Nov-05 0:32
professionalkakan9-Nov-05 0:32 
AnswerRe: Dynamic double dimension Pin
kakan9-Nov-05 2:13
professionalkakan9-Nov-05 2:13 
AnswerRe: Dynamic double dimension Pin
David Crow9-Nov-05 3:22
David Crow9-Nov-05 3:22 
Question(Urgent) Problem in inserting line numbers in CRichEditView application Pin
sandakith8-Nov-05 21:41
sandakith8-Nov-05 21:41 
When I try to insert line numbers into my CRichEditView application, it only displays numbers upto 255. When the document has more than 255 lines, number 255 get repeated.Frown | :(
Can anybody let me know how to fix this?

Here's my code

PARAFORMAT2 pf = GetParaFormatSelection();
pf.cbSize = sizeof(pf);
pf.dwMask = PFM_NUMBERING | PFM_STARTINDENT | PFM_NUMBERINGSTART | PFM_NUMBERINGSTYLE;
pf.wNumbering = 2;
pf.wNumberingStart = 1;
pf.wNumberingStyle = 0x200;
pf.dxStartIndent = 10;
SetParaFormat(pf);

It's like this, if i start numbering with 100 it is repeating after 354. Number range is limited to 255 numbers.Confused | :confused: Can we set the number range in PARAFORMAT2 structure?

Thanks

AnswerRe: (Urgent) Problem in inserting line numbers in CRichEditView application Pin
James R. Twine9-Nov-05 4:50
James R. Twine9-Nov-05 4:50 
GeneralRe: (Urgent) Problem in inserting line numbers in CRichEditView application Pin
sandakith9-Nov-05 16:12
sandakith9-Nov-05 16:12 
GeneralRe: (Urgent) Problem in inserting line numbers in CRichEditView application Pin
James R. Twine9-Nov-05 16:43
James R. Twine9-Nov-05 16:43 
QuestionProtocol and web-site Pin
includeh108-Nov-05 19:32
includeh108-Nov-05 19:32 
AnswerRe: Protocol and web-site Pin
ThatsAlok8-Nov-05 20:14
ThatsAlok8-Nov-05 20:14 
AnswerRe: Protocol and web-site Pin
S Douglas8-Nov-05 21:41
professionalS Douglas8-Nov-05 21:41 
QuestionHttp connection Pin
includeh108-Nov-05 19:19
includeh108-Nov-05 19:19 
AnswerRe: Http connection Pin
ThatsAlok8-Nov-05 19:55
ThatsAlok8-Nov-05 19:55 
QuestionHiding Toolbars, Menubar, control bar and status bar Pin
romuzu8-Nov-05 17:13
romuzu8-Nov-05 17:13 
AnswerRe: Hiding Toolbars, Menubar, control bar and status bar Pin
douglasjordan8-Nov-05 17:26
douglasjordan8-Nov-05 17:26 
QuestionShift-jis Pin
samkook8-Nov-05 12:04
samkook8-Nov-05 12:04 
Question(Console C++)Resizing mallocation? Pin
Mariano Lopez-Gappa8-Nov-05 10:44
Mariano Lopez-Gappa8-Nov-05 10:44 
AnswerRe: (Console C++)Resizing mallocation? Pin
Ravi Bhavnani8-Nov-05 11:06
professionalRavi Bhavnani8-Nov-05 11:06 
AnswerRe: (Console C++)Resizing mallocation? Pin
Tim Smith8-Nov-05 11:25
Tim Smith8-Nov-05 11:25 
AnswerRe: (Console C++)Resizing mallocation? Pin
douglasjordan8-Nov-05 12:57
douglasjordan8-Nov-05 12:57 
AnswerRe: (Console C++)Resizing mallocation? Pin
Mariano Lopez-Gappa8-Nov-05 13:17
Mariano Lopez-Gappa8-Nov-05 13:17 
AnswerRe: (Console C++)Resizing mallocation? Pin
LighthouseJ8-Nov-05 19:30
LighthouseJ8-Nov-05 19:30 

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.