Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

albuemil

@albuemil
About
Posts
10
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to remove unused resource IDs ?
    A albuemil

    Thanx prasad_som, I didn't know about that option, it's exactly what I needed. I've found in in Visual Studio.Net too, when you rightclick in the resource view on any of the resources there's the "Resource Symbols" option.

    There's no teacher who can teach us anything new He can just help us to remember the things we always knew! E N I G M A

    C / C++ / MFC question java perl tools help

  • How to remove unused resource IDs ?
    A albuemil

    Hy. I'm trying to clean up a "huge" project, and since i have a few thousand resource IDs in the "resource.h" file, it's a pain in the b.t to try to remove the ones that are really not used in the RC file. I've found a tool, the ResOrgNET program which can find duplicate IDs, but it still doesn't help in removing the IDs that are not used anymore. The question is : is there an add-in, program or maybe even a Perl/Java/whatever script that can help me find the duplicate resources ? (it must no remove them automatically, it should either only report them so i can remove them manually, or show a dialog in which i can tell it which ones to remove). Thanks in advance.

    There's no teacher who can teach us anything new He can just help us to remember the things we always knew! E N I G M A

    C / C++ / MFC question java perl tools help

  • MDI Menu
    A albuemil

    Thanx, it worked. The only problem was, that CDocTemplate doesn't contain the m_hMenuShared, the CMDIDocTemplate contains it, so here's how i made it : POSITION pos = pDocMan->GetFirstDocTemplatePosition(); while (pos) { CMultiDocTemplate *pDocTemplate = (CMultiDocTemplate*)pDocMan->GetNextDocTemplate(pos); } ::InsertMenu(pDocTemplate->m_hMenuShared,1,MF_BYPOSITION | MF_POPUP, (UINT)pMenu->m_hMenu, "submenu"); wich added the "submenu" just after "File".

    C / C++ / MFC question help

  • MDI Menu
    A albuemil

    Hy. I'm developing an MDI application, and i've got a problem. I'm trying to add submenus to the main menu, but i can't get the MDI menu, only the main APP menu. I tried with GetMenu, but that only returns the Main App menu. How can i get a pointer to the MDI menu ???

    C / C++ / MFC question help

  • How to get CDialog objects from plugin DLLs
    A albuemil

    Hy. The plugins are dinamically created (i load them with LoadLibrary) and all the plugins are MFC Extension DLL. I found another way, it's working perfectly, i use a component named : EzOptionsDlg wich uses CPropertyPages, exactly what worked for me. (you can find it here at C.P. http://www.codeproject.com/dialog/ezoptionsdlg.asp. My only problem with this is that i have to make shure each plugin uses different resource numbers ore the wrong dialogs will appear. Anyway, i solved the problem, i wanted to make something similar to this. Thanx for the help.

    C / C++ / MFC help tutorial question

  • Save dialog crash.
    A albuemil

    Hy, I ported a small application from Visual C++ 6 to .NET and now on some computers it crashes when it shows a "Save" dialog. The problem is that i've tried it on about 10 computers and only on 2 of them crashed, on the others works perfectly. The OS on the "crash" comptuer is NT4 with Service Pack 6. I was wondering if anybody knows what's happening or heard of similar situations. I've heard of similar problems, but don't know any real answer, so any help is really welcomed. Thanx in advance.

    C / C++ / MFC c++ help csharp

  • How to get CDialog objects from plugin DLLs
    A albuemil

    Hy. I'm developing a plugin based application. My problem is that i need to define some dialogs in the plugins that later i can use from the main application to configure each plugin (something like Winamp3's Config Dialog). If i export pointers to CPropertyPage's from the plugins and use the AddPage of the CPropertySheet in the main app, everything works well, but if i export pointers to CDialog and try to position such a dialog in another dialog created by the main application, it gives me some errors at run time. Anybody has a clue on how to create the dialogs in the plugins so i can still handle the controls from that dialog in the plugin but still be able to position it in another dialog in the main application ???

    C / C++ / MFC help tutorial question

  • Plugin System in Visual C++
    A albuemil

    Then i'll have to look over it again, maybe i made some mistake. Anyhow, i'll get back with more info (i'll have to make some tests). Thanx anyway. ----------------------------------- Ok, i looked it over, it didn't load the dlls as i made a mistake when i declared them, now i can load MFC extension DLLs too. Thanx.

    C / C++ / MFC c++ help data-structures question

  • Plugin System in Visual C++
    A albuemil

    Well, i've found a system that does the loading/unloading for me (look at http://www.codeproject.com/dll/plug-in.asp). My problem is that if i create MFC Extension DLLs, the LoadLibray and FreeLibrary functions don't work. So, i didn't find any way yet to use MFC classes in my DLLs. I need some help with this part, as this i think is the most important one (as my DLLs will use MFC classes) For the shared memory part (the list of data that plugins have to work with) i think i can send a pointer to that data (each plugin has a function that asks for that pointer), if anybody has a better ideea, please tell me. For the Winamp like configuration i suppose that's not that extremly important, so i could leave it for a latter time (or leave it out completely from the project), so for now each plugin shows its own dialog with configurations.

    C / C++ / MFC c++ help data-structures question

  • Plugin System in Visual C++
    A albuemil

    Hy. I'm trying to create a program that needs plugins. My problem is that i found quite a few methods of creating plugins, and i don't know wich method to use (wich one is better). Anyway, here's what i need to be able to do: - plugins must be able to access a list of data from the main program (for modifying it) - plugins can show their own dialogs when executed - i'd like to implement a Plugin Config system like Winamp3 has (there's a tree with each plugin as a treenode, and when you select one of them, the right side shows the plugin's config dialog) - plugins should be able to add new commands to the main menu and toolbar of the application that loads them. - also, the user should be able to select wich plugins not to load So, if anybody has a good ideea on how can i make this all, please help me.

    C / C++ / MFC c++ help data-structures question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups