how u can move CDC pointer to one line in cview?

Answers were Sorted based on User's Feedback



how u can move CDC pointer to one line in cview?..

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

how u can move CDC pointer to one line in cview?..

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

Post New Answer

More MFC Interview Questions

What is the difference between OnInitialUpdate and OnUpdate?

5 Answers  


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


Tell me about different kinds of synchranization objects ?

6 Answers  


What are the advantages of using Doc/View or SDI over DialogBox

2 Answers  


1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions

1 Answers  






If i derive a new class from CObject what are the basic features my derived wil get ?

4 Answers   Microsoft,


What is LPCTSTR? What does LP denote it?

4 Answers  


what is the use of Mutex and critical section

2 Answers  


In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?

2 Answers   Wipro,


What is document-view architecture ? Give me one real time example for SDI ?

2 Answers  


Explain the flow of SDI application?

8 Answers   Mphasis,


I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?

1 Answers  


Categories