Click here to Skip to main content
15,904,024 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What menu item was selected? Pin
V.4-Aug-04 1:07
professionalV.4-Aug-04 1:07 
AnswerRe: What menu item was selected? Pin
cmk4-Aug-04 9:53
cmk4-Aug-04 9:53 
GeneralRe: What menu item was selected? Pin
gokings5-Aug-04 22:12
gokings5-Aug-04 22:12 
GeneralUrgent:malloc gives access violation for a C dll Pin
rana743-Aug-04 21:07
rana743-Aug-04 21:07 
QuestionHow to use MFC structure CMemory State in a Non-MFC application Pin
Prathima Prabhakar Rao3-Aug-04 20:51
Prathima Prabhakar Rao3-Aug-04 20:51 
AnswerRe: How to use MFC structure CMemory State in a Non-MFC application Pin
Anthony_Yio4-Aug-04 1:19
Anthony_Yio4-Aug-04 1:19 
QuestionHow to draw figures in MSFlexgrid Cell Pin
kjadhav3-Aug-04 20:18
kjadhav3-Aug-04 20:18 
Questiondebug mode fails to run?? Pin
xxhimanshu3-Aug-04 19:47
xxhimanshu3-Aug-04 19:47 
AnswerRe: debug mode fails to run?? Pin
Milton Karimbekallil3-Aug-04 20:23
Milton Karimbekallil3-Aug-04 20:23 
Generalsystem log-off/shut-down response from my application Pin
Anonymous3-Aug-04 19:20
Anonymous3-Aug-04 19:20 
GeneralPlease help me with the Arithmetic Coding base on Khalid Sayood Pin
huffmancoding3-Aug-04 18:48
huffmancoding3-Aug-04 18:48 
Generalstarting an application at startup, before logging in Pin
Anonymous3-Aug-04 18:22
Anonymous3-Aug-04 18:22 
GeneralRe: starting an application at startup, before logging in Pin
Antony M Kancidrowski4-Aug-04 1:09
Antony M Kancidrowski4-Aug-04 1:09 
GeneralRe: starting an application at startup, before logging in Pin
Anonymous4-Aug-04 1:27
Anonymous4-Aug-04 1:27 
GeneralRe: starting an application at startup, before logging in Pin
Antony M Kancidrowski4-Aug-04 2:49
Antony M Kancidrowski4-Aug-04 2:49 
GeneralRe: starting an application at startup, before logging in Pin
Anonymous4-Aug-04 1:24
Anonymous4-Aug-04 1:24 
QuestionSend Messages? Pin
Zero_One_ADO3-Aug-04 18:10
Zero_One_ADO3-Aug-04 18:10 
Answerno Pin
bikram singh3-Aug-04 18:44
bikram singh3-Aug-04 18:44 
GeneralVisual C++ WinSNMP API: Pin
Alan Lewis3-Aug-04 16:00
Alan Lewis3-Aug-04 16:00 
GeneralOptimization Pin
Sibilant3-Aug-04 14:54
Sibilant3-Aug-04 14:54 
GeneralVisual C++ static member initialization Pin
Indrawati3-Aug-04 14:25
Indrawati3-Aug-04 14:25 
GeneralRe: Visual C++ static member initialization Pin
User 8348703-Aug-04 22:10
User 8348703-Aug-04 22:10 
GeneralRe: Visual C++ static member initialization Pin
cmk4-Aug-04 0:51
cmk4-Aug-04 0:51 
GeneralRe: Visual C++ static member initialization Pin
Indrawati4-Aug-04 15:09
Indrawati4-Aug-04 15:09 
QuestionHow to create a Point Custom Control Pin
StevenS_Dev3-Aug-04 13:28
StevenS_Dev3-Aug-04 13:28 
I'm not exactly sure if I really want a custom control, but here is what I am trying to do.

Currently, we plot points on a graph. The points are stored in a vector of POINTs and are simply drawn on the screen (dc.SetPixel and dc.Ellipse). A new requirement has been added to allow users to move the points. I can either check the entire vector on a LButtonDown to see if the mouse click point matches an item in the vector or...what I am hoping is to create a new type of CCmdTarget class or CWnd so I get messages built-in. Essentially I want to create a new Point class which knows about receiving point clicks, mouse movements, etc. The idea is to move the burden of figuring out mouse clicks/moves to this new Point class.

Any help is greatly appreciated. Thanks. I figure this has been done before, but I could not find anything by doing an article search.

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.