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

C / C++ / MFC

 
Questionhow to delete the margins when print with mfc Pin
Anonymous10-Oct-02 16:58
Anonymous10-Oct-02 16:58 
AnswerRe: how to delete the margins when print with mfc Pin
Gary R. Wheeler11-Oct-02 16:39
Gary R. Wheeler11-Oct-02 16:39 
GeneralCall dll from within an exe Pin
DarrollWalsh10-Oct-02 16:53
DarrollWalsh10-Oct-02 16:53 
GeneralDesign pattern Pin
stevenson10-Oct-02 15:06
stevenson10-Oct-02 15:06 
GeneralRe: Design pattern Pin
Christian Graus10-Oct-02 15:23
protectorChristian Graus10-Oct-02 15:23 
GeneralRe: Design pattern Pin
Anonymous10-Oct-02 17:09
Anonymous10-Oct-02 17:09 
GeneralRe: Design pattern Pin
Garth J Lancaster10-Oct-02 21:10
professionalGarth J Lancaster10-Oct-02 21:10 
GeneralOOD Question: Data / GUI boundary Pin
JennyP10-Oct-02 12:37
JennyP10-Oct-02 12:37 
Hello,

I'm writing a program that displays a list of tasks on a CListView report. The report view will have varying text color/font & item background colors depending on the context of each specific task (list item).

Where should I put the functions to determine these GUI parameters? In the document class or the CListView derived class? Should the document have functions that return the color of each specific list item? Or should the ListView make the determination based on gathering information about the Document tasks/items?

I suppose I could throw out the idea of modularity and just treat the GUI and the document as mutually dependent, but I believe that this would be poor design.

Does anyone have any pertinent wisdom about how to lay this out?

thanks!

JennyP
GeneralRe: OOD Question: Data / GUI boundary Pin
Ed Gadziemski10-Oct-02 14:34
professionalEd Gadziemski10-Oct-02 14:34 
QuestionEnable3DControls? Pin
Henry P.10-Oct-02 12:07
Henry P.10-Oct-02 12:07 
AnswerRe: Enable3DControls? Pin
Michael Dunn10-Oct-02 13:42
sitebuilderMichael Dunn10-Oct-02 13:42 
GeneralRe: Enable3DControls? Pin
Henry P.10-Oct-02 14:06
Henry P.10-Oct-02 14:06 
GeneralJust a beginner here Pin
G. White10-Oct-02 12:03
G. White10-Oct-02 12:03 
GeneralRe: Just a beginner here Pin
Christian Graus10-Oct-02 13:04
protectorChristian Graus10-Oct-02 13:04 
GeneralRe: Just a beginner here Pin
Anonymous10-Oct-02 19:48
Anonymous10-Oct-02 19:48 
GeneralRe: Just a beginner here Pin
Anonymous10-Oct-02 20:42
Anonymous10-Oct-02 20:42 
GeneralRe: Just a beginner here Pin
valikac10-Oct-02 13:07
valikac10-Oct-02 13:07 
GeneralRe: Just a beginner here Pin
Anonymous10-Oct-02 17:12
Anonymous10-Oct-02 17:12 
GeneralRe: Just a beginner here Pin
G. White10-Oct-02 19:51
G. White10-Oct-02 19:51 
GeneralBest communication Protocol Pin
Spiros10-Oct-02 11:01
Spiros10-Oct-02 11:01 
GeneralRe: Best communication Protocol Pin
Daniel Turini10-Oct-02 11:07
Daniel Turini10-Oct-02 11:07 
GeneralRe: Best communication Protocol Pin
Paul M Watt10-Oct-02 11:38
mentorPaul M Watt10-Oct-02 11:38 
GeneralRe: Best communication Protocol Pin
valikac10-Oct-02 13:10
valikac10-Oct-02 13:10 
GeneralPrinting :: MFC Pin
valikac10-Oct-02 10:52
valikac10-Oct-02 10:52 
GeneralRe: Printing :: MFC Pin
Ed Gadziemski10-Oct-02 14:40
professionalEd Gadziemski10-Oct-02 14: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.