Click here to Skip to main content
15,918,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDrag&Drop Pin
vijayaramaraju10-Apr-03 0:42
vijayaramaraju10-Apr-03 0:42 
GeneralWriting on CD-R/CDRW Pin
DiscoverSK10-Apr-03 0:31
DiscoverSK10-Apr-03 0:31 
GeneralRe: Writing on CD-R/CDRW Pin
CodeBrain10-Apr-03 2:20
CodeBrain10-Apr-03 2:20 
GeneralRe: Writing on CD-R/CDRW Pin
J. Dunlap10-Apr-03 8:29
J. Dunlap10-Apr-03 8:29 
GeneralRe: Writing on CD-R/CDRW Pin
Colin Urquhart10-Apr-03 19:56
Colin Urquhart10-Apr-03 19:56 
GeneralCEditView Pin
Davy Mitchell9-Apr-03 23:41
Davy Mitchell9-Apr-03 23:41 
QuestionWhat does it mean ? Pin
Rage9-Apr-03 23:39
professionalRage9-Apr-03 23:39 
AnswerRe: What does it mean ? Pin
Zdeslav Vojkovic10-Apr-03 0:25
Zdeslav Vojkovic10-Apr-03 0:25 
1. pActiveDoc is a smart pointer to theDocument (wraps the pointer and takes care of object reference counting). since there is the Selection property, i guess that it is really a TextDocument object of DevStudio.

2.
Selection Property

Applies to: TextDocument object, TextWindow object

Gets the TextSelection object, which represents the selected text.

Syntax
object.Selection

Parameters
object - An expression that evaluates to a TextDocument object or a TextWindow object.

Remarks
The Selection property has the TextSelection type.
For the TextDocument object, the Selection property gets the object representing the text selected in a document's active view or in the topmost view if no views are active.
For the TextWindow object, the Selection property gets the object representing the text selected in the text window.

3. check the MSDN: Visual Tools and Languages -> Visual Studio 6.0 Documentation -> Visual C++ Documentation -> Using Visual C++ -> Visual C++ User's Guide -> Automating Tasks in Visual Studio. there's the description of VisualStudio object model.

4. AFX_MANAGE_STATE must be called at the beginning of every exported method in MFC dlls to correctly set the module state. find more details in MSDN

5. call Name or FullName property on pActiveDoc object

GeneralRe: What does it mean ? Pin
Rage10-Apr-03 0:36
professionalRage10-Apr-03 0:36 
AnswerRe: What does it mean ? Pin
Daniel Strigl10-Apr-03 0:28
Daniel Strigl10-Apr-03 0:28 
GeneralRe: What does it mean ? Pin
Rage10-Apr-03 0:52
professionalRage10-Apr-03 0:52 
Generalmodify style window Pin
jeremysay9-Apr-03 23:27
jeremysay9-Apr-03 23:27 
GeneralRe: modify style window Pin
Zdeslav Vojkovic10-Apr-03 2:54
Zdeslav Vojkovic10-Apr-03 2:54 
GeneralRe: modify style window Pin
jeremysay10-Apr-03 3:35
jeremysay10-Apr-03 3:35 
GeneralRe: modify style window Pin
Zdeslav Vojkovic10-Apr-03 5:37
Zdeslav Vojkovic10-Apr-03 5:37 
GeneralRe: modify style window Pin
jeremysay10-Apr-03 7:24
jeremysay10-Apr-03 7:24 
GeneralRe: modify style window Pin
Zdeslav Vojkovic10-Apr-03 21:37
Zdeslav Vojkovic10-Apr-03 21:37 
GeneralRe: modify style window Pin
jeremysay10-Apr-03 22:59
jeremysay10-Apr-03 22:59 
GeneralRe: modify style window Pin
Zdeslav Vojkovic11-Apr-03 0:11
Zdeslav Vojkovic11-Apr-03 0:11 
GeneralRe: modify style window Pin
jeremysay11-Apr-03 0:15
jeremysay11-Apr-03 0:15 
GeneralIcon how to obtain Pin
Jump_Around9-Apr-03 23:21
Jump_Around9-Apr-03 23:21 
GeneralRe: Icon how to obtain Pin
Martyn Pearson10-Apr-03 0:11
Martyn Pearson10-Apr-03 0:11 
GeneralRe: Icon how to obtain Pin
Debs10-Apr-03 0:14
Debs10-Apr-03 0:14 
QuestionURGEnt:How to open an application?? Pin
RaajaOfSelf9-Apr-03 22:49
RaajaOfSelf9-Apr-03 22:49 
AnswerRe: URGEnt:How to open an application?? Pin
Zdeslav Vojkovic9-Apr-03 23:08
Zdeslav Vojkovic9-Apr-03 23:08 

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.