Click here to Skip to main content
15,906,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Nelek4-Nov-07 21:41
protectorNelek4-Nov-07 21:41 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Larry Mills Sr5-Nov-07 5:57
Larry Mills Sr5-Nov-07 5:57 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls [modified] Pin
Nelek5-Nov-07 20:30
protectorNelek5-Nov-07 20:30 
AnswerRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Mark Salsbery5-Nov-07 5:54
Mark Salsbery5-Nov-07 5:54 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Larry Mills Sr5-Nov-07 6:03
Larry Mills Sr5-Nov-07 6:03 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Mark Salsbery5-Nov-07 6:34
Mark Salsbery5-Nov-07 6:34 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls [modified] Pin
Larry Mills Sr5-Nov-07 9:10
Larry Mills Sr5-Nov-07 9:10 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Mark Salsbery5-Nov-07 10:48
Mark Salsbery5-Nov-07 10:48 
Larry Mills Sr wrote:
Do you know how to use Visual Studio 2005 C++? I can figure how to create a program (no understandable Wizard like VS 6.0


Yes.  The missing app wizard is a common complaint.  Its replacement is
split into two windows, both accessible from the View menu.
One is the "Class View" window, the other is the "Properties Window".

Example: If you right click a dialog class in the Class View window and choose properties,
the properties window will open and/or switch to the context of that class.  There
you'll find tabs for events, messages and overrides.  Select the appropriate tab, scroll
to the item you want to add a method for, use the drop down arrow to the right of it
to chose "<add> ...".

Larry Mills Sr wrote:
Couldn't I, thru the Class Wizard, do a WM_COMMAND adding the function "On_Command" to each property page; and list the EditBox's Resource ID# (ie, IDC_TIRE) as a case( ie, case IDC_TIRE: OnTireUsed(); break;)
would that work if any activity occured in the EditBox?


Sure.  You won't find a WM_COMMAND handler (at least not in later VS versions)
because MFC already catches the WM_COMMAND message and dispatches it via a
virtual call to CWnd::OnCommand().  All you have to do is override OnCommand() in your
dialog class, filter out command messages you want to process or are interested in, and
pass the rest on to the base class.


Larry Mills Sr wrote:
What a "CLR" and what is "General").


For CLR, see common Language Runtime Wiki[^].  You only need to worry about
compiling for CLR if you intend to use the .NET framework or other .NET
assemblies from your C++ code.  It's definitely an advanced topic!

I'm not sure what "General" you're referring to.


Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Larry Mills Sr5-Nov-07 11:25
Larry Mills Sr5-Nov-07 11:25 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Mark Salsbery5-Nov-07 11:45
Mark Salsbery5-Nov-07 11:45 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Larry Mills Sr6-Nov-07 2:59
Larry Mills Sr6-Nov-07 2:59 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Mark Salsbery6-Nov-07 4:43
Mark Salsbery6-Nov-07 4:43 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Larry Mills Sr6-Nov-07 5:45
Larry Mills Sr6-Nov-07 5:45 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Mark Salsbery6-Nov-07 8:03
Mark Salsbery6-Nov-07 8:03 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Larry Mills Sr6-Nov-07 10:05
Larry Mills Sr6-Nov-07 10:05 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Mark Salsbery6-Nov-07 10:15
Mark Salsbery6-Nov-07 10:15 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Nelek6-Nov-07 21:06
protectorNelek6-Nov-07 21:06 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls [modified] Pin
Larry Mills Sr7-Nov-07 4:00
Larry Mills Sr7-Nov-07 4:00 
GeneralRe: Tracking a mouse movement inside a dialog without Tab controls Pin
Nelek14-Nov-07 3:35
protectorNelek14-Nov-07 3:35 
Questionfolder constants (for opening) Pin
shpid3r3-Nov-07 12:59
shpid3r3-Nov-07 12:59 
AnswerRe: folder constants (for opening) Pin
Peter Weyzen3-Nov-07 19:01
Peter Weyzen3-Nov-07 19:01 
QuestionGetOpenFileName hangs Pin
andrew_dk3-Nov-07 12:31
andrew_dk3-Nov-07 12:31 
AnswerRe: GetOpenFileName hangs [modified] Pin
Peter Weyzen3-Nov-07 18:44
Peter Weyzen3-Nov-07 18:44 
GeneralRe: GetOpenFileName hangs Pin
andrew_dk3-Nov-07 19:57
andrew_dk3-Nov-07 19:57 
QuestionHeader files #include problem Pin
Oliver1233-Nov-07 11:10
Oliver1233-Nov-07 11:10 

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.