Click here to Skip to main content
15,915,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp with Dialog Toolbars Pin
Steven M Hunt4-Nov-02 10:33
Steven M Hunt4-Nov-02 10:33 
GeneralRe: Help with Dialog Toolbars Pin
dabs4-Nov-02 10:50
dabs4-Nov-02 10:50 
GeneralCMenu question. Pin
Anonymous4-Nov-02 10:11
Anonymous4-Nov-02 10:11 
QuestionHow do i at runtime, draw a bitmap in my application? Pin
Anonymous4-Nov-02 9:45
Anonymous4-Nov-02 9:45 
AnswerRe: How do i at runtime, draw a bitmap in my application? Pin
Christian Graus4-Nov-02 9:56
protectorChristian Graus4-Nov-02 9:56 
Generalyes Pin
Anonymous4-Nov-02 10:31
Anonymous4-Nov-02 10:31 
GeneralRe: yes Pin
Christian Graus4-Nov-02 11:06
protectorChristian Graus4-Nov-02 11:06 
QuestionDo we really need "UINT mask"? Pin
MightyThor4-Nov-02 9:27
MightyThor4-Nov-02 9:27 
Hi,

I'm trying to develop a table control like Chris Mauder's GridControl. And like in GridControl or MFC's list control i created a struct to contain the elements to set for cell properties.

Now i wonder, instead of using a struct and specifying the mask variable so that it will understand which properties we want to change, can't we use a class and set all variables to NULL in the constructor? That way we wouldn't need to '&' the mask with predefined mask values and see if it's set or not, we could just check every variable if it's NULL or not.

Well, this makes sense to me but i need advice from experienced programmers.

Thanks in advance.

AnswerRe: Do we really need "UINT mask"? Pin
Christian Graus4-Nov-02 9:55
protectorChristian Graus4-Nov-02 9:55 
GeneralRe: Do we really need "UINT mask"? Pin
MightyThor4-Nov-02 9:59
MightyThor4-Nov-02 9:59 
GeneralRe: Do we really need "UINT mask"? Pin
Christian Graus4-Nov-02 10:34
protectorChristian Graus4-Nov-02 10:34 
GeneralRe: Do we really need "UINT mask"? Pin
MightyThor4-Nov-02 10:49
MightyThor4-Nov-02 10:49 
AnswerRe: Do we really need "UINT mask"? Pin
Daniel Turini4-Nov-02 9:55
Daniel Turini4-Nov-02 9:55 
GeneralRe: Do we really need "UINT mask"? Pin
MightyThor4-Nov-02 10:26
MightyThor4-Nov-02 10:26 
Generalscroll using middle button Pin
orcun colak4-Nov-02 8:54
orcun colak4-Nov-02 8:54 
GeneralRe: scroll using middle button Pin
lucy4-Nov-02 9:39
lucy4-Nov-02 9:39 
Questionhow to make one function dual duty? Pin
ns4-Nov-02 8:04
ns4-Nov-02 8:04 
AnswerRe: how to make one function dual duty? Pin
Anonymous4-Nov-02 8:06
Anonymous4-Nov-02 8:06 
GeneralRe: how to make one function dual duty? Pin
ns4-Nov-02 8:14
ns4-Nov-02 8:14 
GeneralRe: how to make one function dual duty? Pin
ns4-Nov-02 8:26
ns4-Nov-02 8:26 
GeneralRe: how to make one function dual duty? Pin
Anonymous4-Nov-02 8:31
Anonymous4-Nov-02 8:31 
GeneralRe: how to make one function dual duty? Pin
ns4-Nov-02 8:38
ns4-Nov-02 8:38 
GeneralC++ serial communication Pin
Ayush4-Nov-02 7:59
Ayush4-Nov-02 7:59 
GeneralRe: C++ serial communication Pin
Ayush4-Nov-02 8:22
Ayush4-Nov-02 8:22 
GeneralContext Menu from the Status Bar.. Pin
Anonymous4-Nov-02 7:40
Anonymous4-Nov-02 7:40 

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.