Click here to Skip to main content
15,921,382 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
KaЯl11-Feb-03 21:39
KaЯl11-Feb-03 21:39 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
Aidman12-Feb-03 5:26
Aidman12-Feb-03 5:26 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
KaЯl12-Feb-03 5:32
KaЯl12-Feb-03 5:32 
GeneralWM_NCHITTEST in Dialog Box Pin
Silmeron8-Feb-03 12:48
Silmeron8-Feb-03 12:48 
GeneralRe: WM_NCHITTEST in Dialog Box Pin
Nish Nishant8-Feb-03 13:29
sitebuilderNish Nishant8-Feb-03 13:29 
GeneralRe: WM_NCHITTEST in Dialog Box Pin
Silmeron8-Feb-03 16:04
Silmeron8-Feb-03 16:04 
GeneralError displaying CFrameWnd Pin
raner8-Feb-03 8:00
raner8-Feb-03 8:00 
GeneralRe: Error displaying CFrameWnd Pin
User 98858-Feb-03 8:52
User 98858-Feb-03 8:52 
you have to write the painting code in OnDraw.

If you write before, the next time the window paints, whatever you did will get erased.

To do that, you have to create a class CPlotterWnd derived from CFrameWnd and override the OnDraw... although drawing in a frame window is not eh correct way. Framewindow is used to host other windows like views, which inturn display the data.

If you have access to MSDN, it explains it quite well. .. or you have to get a book on MFC.


My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers


modified 29-Aug-18 21:01pm.

Generalhelp needed on CView and CFrameWnd Pin
raner8-Feb-03 18:42
raner8-Feb-03 18:42 
GeneralRe: help needed on CView and CFrameWnd Pin
User 988510-Feb-03 2:57
User 988510-Feb-03 2:57 
GeneralMFC memory Leak Pin
User 98858-Feb-03 7:37
User 98858-Feb-03 7:37 
GeneralRe: MFC memory Leak Pin
User 98858-Feb-03 7:49
User 98858-Feb-03 7:49 
GeneralRe: MFC memory Leak Pin
Michael Dunn8-Feb-03 9:54
sitebuilderMichael Dunn8-Feb-03 9:54 
GeneralRe: MFC memory Leak Pin
User 98858-Feb-03 10:02
User 98858-Feb-03 10:02 
GeneralRichEdit question ! Pin
Hadi Rezaee8-Feb-03 7:34
Hadi Rezaee8-Feb-03 7:34 
QuestionHow to get an added class to shwo up in class wizard Pin
nss8-Feb-03 2:29
nss8-Feb-03 2:29 
QuestionWhat is wrong with these SQL statements?? Pin
IrishSonic8-Feb-03 0:26
IrishSonic8-Feb-03 0:26 
AnswerRe: What is wrong with these SQL statements?? Pin
vin8-Feb-03 1:08
vin8-Feb-03 1:08 
AnswerRe: What is wrong with these SQL statements?? Pin
Ted Ferenc8-Feb-03 4:42
Ted Ferenc8-Feb-03 4:42 
GeneralHere is my code... Pin
IrishSonic8-Feb-03 7:35
IrishSonic8-Feb-03 7:35 
GeneralRe: Here is my code... Pin
Ted Ferenc8-Feb-03 10:09
Ted Ferenc8-Feb-03 10:09 
GeneralRe: Here is my code... Pin
Kelly Herald9-Feb-03 18:02
Kelly Herald9-Feb-03 18:02 
AnswerRe: What is wrong with these SQL statements?? Pin
JockeP9-Feb-03 6:08
JockeP9-Feb-03 6:08 
GeneralCAsyncSocket problem Pin
Kazz7-Feb-03 23:08
Kazz7-Feb-03 23:08 
GeneralRe: CAsyncSocket problem Pin
Michael Dunn8-Feb-03 7:32
sitebuilderMichael Dunn8-Feb-03 7:32 

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.