Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

How can I get the full path of the project file the editor displaying?

(1/3) > >>

bruce:
    I am developing a plugin for CB. I encountered a problem that how to obtain the message of the a project whose file is being displaying by the editor.
    That is, I need to know the full path of the project whose file is the focus of the editor of CB. I need the absolute path to create a new file under the project folder.
    Which library functions could help me to accomplish this task?
    I will appreciate your tips!

oBFusCATed:
Sorry, but you'll have to try again and be more clear.
It is not possible to understand what you're trying to achieve from your first post.

What is the meaning for "message"?

bruce:

--- Quote from: oBFusCATed on March 30, 2012, 12:04:34 pm ---Sorry, but you'll have to try again and be more clear.
It is not possible to understand what you're trying to achieve from your first post.

What is the meaning for "message"?

--- End quote ---

The "message" is the full path of the project whose file is the focus of the editor of the CB. Do I make it clear for you ? Thanks you for your reading.

ollydbg:
Still not clear, but I can guess. You need is the cbEVT_EDITOR_ACTIVATED and cbEVT_PROJECT_ACTIVATE event.
Search those words in C::B's source, you can see many usage of those events.

oBFusCATed:
Ollydbg: I doubt it is that.
Bruce: If you really want to help you, you have to try harder to explain what do you want to achieve.

As far as I can understand, you want to find a way to get the full path to the active file?

Navigation

[0] Message Index

[#] Next page

Go to full version