How to handle command line arguements from simple MFC
application ?
Answers were Sorted based on User's Feedback
Answer / muthu
If it is a simple dialog based application then by using the
'theApp' application object we access commandline argument.
To get the App class object:
AfxGetApp()
To get the command line arguments
theApp->m_lpCmdLine
Use it wherever it required.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is #progma and where it is used?
1)How to create ToolTip in MFC?
What is a message map, and what is the advantage of a message map over virtual functions?
What is the base class for MFC Framework ?
How to handle dynamic menus in MFC?
what do you mean by psychic window?
1) create ToolTip in MFC?
what is the use of AFX_MANAGE_STATE ?
Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A. Explain how a pointer to function can be declared in C++? B. List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header ("Include") Files.
how to give colour for dialog button or static buuto?any one explain full code ?pls pls
Given two processes, how can they share memory?
What is the size of class