Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General Disabling MS Language extensions Pin
Jim Crafton30-Sep-00 5:47
Jim Crafton30-Sep-00 5:47 
GeneralDisabling MS Language extensions Pin
Jim30-Sep-00 5:43
Jim30-Sep-00 5:43 
GeneralRe: Disabling MS Language extensions Pin
Erik Funkenbusch4-Oct-00 13:32
Erik Funkenbusch4-Oct-00 13:32 
GeneralGetCapture Pin
KarlKlose30-Sep-00 2:11
KarlKlose30-Sep-00 2:11 
GeneralAn interesting ICQ add-on library Pin
Eq30-Sep-00 0:31
Eq30-Sep-00 0:31 
GeneralRe: An interesting ICQ add-on library Pin
helloworld30-Sep-00 0:32
helloworld30-Sep-00 0:32 
GeneralRe: An interesting ICQ add-on library Pin
Eq30-Sep-00 0:33
Eq30-Sep-00 0:33 
GeneralMFC App: Need some help with architecture Pin
Lutz Heinrichs29-Sep-00 9:12
Lutz Heinrichs29-Sep-00 9:12 
Hi,
I am working on a MFC app that basically draws its own controls etc on a view that is maximized.
I am having quite some trouble, it seems, with device contexts. I have drawing code in lots of functions all over the place, e.g. when a mouse click comes in, the OnLButtonUp calls a function in my code that does drawing, and sometimes things do not appear on the screen or appear delayed, weird effect.
I am sure I am making a big mistake drawing things directly in reaction to OnLButtonUp() but I have no clue how to do it better.
If someone could give me a set of just the basic pointers how to organize a program like that, I'd be very grateful. The main problem I am having is drawing my GUI elements (Text, Lines, Rectangles).

TIA
Lutz
GeneralRe: MFC App: Need some help with architecture Pin
Michael Dunn2-Oct-00 10:08
sitebuilderMichael Dunn2-Oct-00 10:08 
GeneralRe: MFC App: Need some help with architecture Pin
Erik Funkenbusch4-Oct-00 13:36
Erik Funkenbusch4-Oct-00 13:36 
GeneralLoading Resource in a dll Pin
Joel Holdsworth29-Sep-00 8:50
Joel Holdsworth29-Sep-00 8:50 
GeneralRe: Loading Resource in a dll Pin
Paolo Messina30-Sep-00 5:27
professionalPaolo Messina30-Sep-00 5:27 
GeneralNeeds more info about Question.. Pin
Ryan Park1-Oct-00 14:00
Ryan Park1-Oct-00 14:00 
GeneralRe: Needs more info about Question.. Pin
Stephen Kellett2-Oct-00 5:03
Stephen Kellett2-Oct-00 5:03 
GeneralGetFolderPath! Pin
Pedro Rocha29-Sep-00 4:52
Pedro Rocha29-Sep-00 4:52 
GeneralRe: GetFolderPath! Pin
Frank Deo29-Sep-00 9:11
Frank Deo29-Sep-00 9:11 
GeneralRe: GetFolderPath! Pin
Michael Dunn2-Oct-00 10:12
sitebuilderMichael Dunn2-Oct-00 10:12 
QuestionFormView not sizeable? Pin
pedro29-Sep-00 4:50
pedro29-Sep-00 4:50 
AnswerRe: FormView not sizeable? Pin
Frank Deo29-Sep-00 9:24
Frank Deo29-Sep-00 9:24 
Generalsocket problems Pin
TheKing29-Sep-00 2:44
TheKing29-Sep-00 2:44 
GeneralRe: socket problems Pin
TheKing29-Sep-00 2:48
TheKing29-Sep-00 2:48 
Generalwave files Pin
Marty28-Sep-00 15:00
Marty28-Sep-00 15:00 
GeneralRe: wave files Pin
karthik29-Sep-00 16:44
karthik29-Sep-00 16:44 
Generalchild windows Pin
Y. Hirsch28-Sep-00 9:20
Y. Hirsch28-Sep-00 9:20 
GeneralRe: child windows Pin
Erik Funkenbusch28-Sep-00 13:25
Erik Funkenbusch28-Sep-00 13:25 

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.