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
G

grigsoft

@grigsoft
About
Posts
47
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to verify a pointer is valid? [modified]
    G grigsoft

    Of course, it is offtopic, but I would say that requirement to verify if pointer is good or not is a result of bad objects intraction design. There never should be invalid pointers, because you will forget to verify it once - either now or when you will have to modify your code one year later. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC tutorial question

  • (High-color) icon management
    G grigsoft

    Create bitmap in any tool you like, then import in into VS. I'm using http://www.awicons.com/awicons.html, but any special icon editor will do. When you will need to edit bitmap, just open it in external tool, without doing anything in VS. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC graphics question

  • Multilingual Support Problem
    G grigsoft

    Sure, but do not expect too much :) support[]grigsoft.com Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC help learning

  • Multilingual Support Problem
    G grigsoft

    In most cases you don't have to worry about it - just like text buttons in Message boxes, this dialog depends on windows version. And users of your German version will use German windows, so they will see it in German. Still you can change the texts, but not with rc file - by using custom template extension for FileOpen dialog, and then directly iterating and translating controls on main dialog. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC help learning

  • CArray memory issue
    G grigsoft

    Yes, that's true. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

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

  • Read ini file?
    G grigsoft

    You can check in sources what is wrong there (maybe it caches open file handle), but why don't you use GetPrivateProfilexxx functions directly? Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC help question announcement

  • [Message Deleted]
    G grigsoft

    Well, you don't have to use it anyway :) In most cases it can be avoided. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC

  • [Message Deleted]
    G grigsoft

    It is not always possible to include header with desired declaration, in some cases you just don't want class CPatel to heaviliy depend on CMyApp. In such cases (and if CMyApp only encounters in CMyApp* form) it is easier to make such preliminary declaration. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC

  • CArray memory issue
    G grigsoft

    With SetSize your code runs faster - memory for 1000 items is allocated and not copied\extended during adding new items. Without it array will allocate new memory several times, copying all items to new location. FreeExtra just free unused memory - but it have to copy whole array to new location, which cost time. So I almost never use it - if you will want to add new item afterwards, you will cause array to copy items again. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

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

  • How to save the toolbar settings and selection
    G grigsoft

    CFrameWnd::SaveBarState should do the trick. However keep in mind that this thing fails if you will delete one of toolbars or change ID. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC c++ help tutorial

  • How do I know which font is used in dialog box
    G grigsoft

    You are right - CWnd::GetFont() returns current font for window. This font is not selected automatically in compatible DC on creation. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC question tutorial

  • How do I know which font is used in dialog box
    G grigsoft

    dc.SelectObject(GetFont()); ? Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC question tutorial

  • Text extraction
    G grigsoft

    I could recommend www.wordcnv.com[^] - these guys have fastest library, which can be supplied in a small (<50K!) lib file, and their support is great. I'm using their library myself. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC question

  • How to read .Doc, pdf, .xls etc file?
    G grigsoft

    You can get text from MS Office files by using COM, but this requires office installed. Next, on new systems you can check IFilter interface - system uses it to index office files. Finaly, you can use third party libraries. I can recommend http://www.wordcnv.com[^] - their libraries are very fast and support is the simply the best I have seen. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC tutorial c++ help question

  • Is there any way to manually define resource id without conflict with others?
    G grigsoft

    I have a macro that renumber resources in resource.h sequentially. Depending of what did you mean with your question, it might help. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC question learning

  • File Compare
    G grigsoft

    You can find WinDiff sources, or have a look at WinMerge.sf.net. Comparison itself could be a hardest part, since there are plenty of algorithms. You can search for MYERS's Difference Algorithm. Igor Green http://www.grigsoft.com/ Compare It! + Synchronize It! - files and folders comparison never was easier! Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC c++

  • Creating SetUp File ,Plz...Help
    G grigsoft

    Search for InnoSetup - it is free and good for most install tasks. Igor Green http://www.grigsoft.com/ Compare It! + Synchronize It! - files and folders comparison never was easier! Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC c++ sysadmin help tutorial workspace

  • Empty String Overkill
    G grigsoft

    Yes, I usually do if (!(*szPossiblyEmptyString) ) But this maybe not very readable. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC

  • How can we Change the Caption of a specific ID in String Table.(Urgent pls)
    G grigsoft

    I don't know how to change string table. My idea was instead of doing this, you can override GetMessageString and return another string ID2 when asked for string ID1 Hope this helps, Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC tutorial

  • Change Text property for all Dialogs
    G grigsoft

    I'm using ini file for translation purpose, and to translate dialog I have a call DlgTranslate(this) from OnInitDialog in every dialog. This function traverses all dialog controls, changing text accordingly. This was long preface :) The key is that recently I need to adjust font of static controls, and doing this in DlgTranslate was a good choice (while not very structured). You can do similar thing in your case too. Igor Green http://www.grigsoft.com/ - files and folders comparison tools

    C / C++ / MFC tutorial
  • Login

  • Don't have an account? Register

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