Click here to Skip to main content
15,879,096 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stuck in 2 loops Pin
Member 124990123-May-16 2:47
Member 124990123-May-16 2:47 
GeneralRe: Stuck in 2 loops Pin
Richard MacCutchan3-May-16 2:55
mveRichard MacCutchan3-May-16 2:55 
AnswerRe: Stuck in 2 loops Pin
Patrice T4-May-16 23:24
mvePatrice T4-May-16 23:24 
GeneralRe: Stuck in 2 loops Pin
Richard MacCutchan5-May-16 0:26
mveRichard MacCutchan5-May-16 0:26 
GeneralRe: Stuck in 2 loops Pin
Patrice T5-May-16 0:52
mvePatrice T5-May-16 0:52 
GeneralRe: Stuck in 2 loops Pin
Richard MacCutchan5-May-16 1:08
mveRichard MacCutchan5-May-16 1:08 
Questiondotted rectangle is not being cleared if any empty string added in MFC comboboc Pin
Amrit Agr1-May-16 19:57
Amrit Agr1-May-16 19:57 
AnswerRe: dotted rectangle is not being cleared if any empty string added in MFC comboboc Pin
leon de boer2-May-16 17:57
leon de boer2-May-16 17:57 
You could just intercept the DrawItem call and for any empty string simply clear the lpDrawItemStruct->rcRect manually and then pass all the calls thru to the normal drawitem. lpDrawItemStruct has everything you need to know what to draw

lpDrawItemStruct->itemID it the string number
lpDrawItemStruct->itemState & ODS_SELECTED will tell give you if it is selected or not.
lpDrawItemStruct->rcRect is the area to draw in
In vino veritas

QuestionCreation of class members of class created on the heap Pin
ForNow30-Apr-16 19:09
ForNow30-Apr-16 19:09 
AnswerRe: Creation of class members of class created on the heap Pin
Richard MacCutchan30-Apr-16 20:38
mveRichard MacCutchan30-Apr-16 20:38 
QuestionFIFO en languge C Pin
Member 1249381829-Apr-16 10:37
Member 1249381829-Apr-16 10:37 
AnswerRe: FIFO en languge C Pin
Bram van Kampen29-Apr-16 11:48
Bram van Kampen29-Apr-16 11:48 
AnswerRe: FIFO en languge C Pin
Patrice T30-Apr-16 21:29
mvePatrice T30-Apr-16 21:29 
AnswerRe: FIFO en languge C Pin
CPallini1-May-16 20:49
mveCPallini1-May-16 20:49 
QuestionFour methods to create, pass to function and delete 2d arrays in c++ Pin
Javier Luis Lopez28-Apr-16 23:32
Javier Luis Lopez28-Apr-16 23:32 
AnswerRe: Three methods to create, pass to function and delete 2d arrays in c++ Pin
Bram van Kampen29-Apr-16 12:27
Bram van Kampen29-Apr-16 12:27 
GeneralRe: Three methods to create, pass to function and delete 2d arrays in c++ Pin
Javier Luis Lopez29-Apr-16 23:05
Javier Luis Lopez29-Apr-16 23:05 
AnswerRe: Three methods to create, pass to function and delete 2d arrays in c++ Pin
leon de boer29-Apr-16 18:01
leon de boer29-Apr-16 18:01 
GeneralRe: Three methods to create, pass to function and delete 2d arrays in c++ Pin
Javier Luis Lopez29-Apr-16 23:08
Javier Luis Lopez29-Apr-16 23:08 
GeneralRe: Three methods to create, pass to function and delete 2d arrays in c++ Pin
leon de boer30-Apr-16 0:47
leon de boer30-Apr-16 0:47 
QuestionHow to send huge data via sockets in continuous intervals Pin
manoharbalu28-Apr-16 22:52
manoharbalu28-Apr-16 22:52 
AnswerRe: How to send huge data via sockets in continuous intervals Pin
Shyam Kodase28-Apr-16 23:39
Shyam Kodase28-Apr-16 23:39 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
manoharbalu29-Apr-16 0:32
manoharbalu29-Apr-16 0:32 
GeneralRe: How to send huge data via sockets in continuous intervals Pin
Shyam Kodase22-May-16 21:15
Shyam Kodase22-May-16 21:15 
AnswerRe: How to send huge data via sockets in continuous intervals Pin
Shyam Kodase28-Apr-16 23:42
Shyam Kodase28-Apr-16 23:42 

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.