how u can move CDC pointer to one line in cview?
Answers were Sorted based on User's Feedback
Answer / johnm23357
The question implies that ReleaseDC(CDC*) is not to be
called. The only way I know of doing this, without creating
a leak, is the CClienDC dc(this) constructor.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / wizards
We can change the CDC current pointer by using 'MoveTo'
member funciton. Plz correct me if wrong.
| Is This Answer Correct ? | 1 Yes | 4 No |
What is the base class for most MFC classes?
how many types of classes are ther,what are that
Will there be any difference in the image buffer size if it is loaded in from CString to LPTSTR using GetBuffer()? lptstr = string.GetBuffer(0);
Which CPrintInfo member variable must be set for multiple page printouts?
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it
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.
What is LPCTSTR? What does LP denote it?
How many types of dialog box are their
1)How to change the size of a button at run time ?
1)set the Title for The File DialogBox, in MFC?
How you create a button dynamically?