Skip to content

C / C++ / MFC

C, Visual C++ and MFC discussions

This category can be followed from the open social web via the handle c-c-mfc@forum.codeproject.com

111.5k Topics 465.7k Posts
  • Editing in CListCtrl

    tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    J
    1. Single field editing (first sub-item) can be enabled due to flag in the ListCtrl properties 2. A general purpose editable ListCtrl could be find in the code guru section discussing ListCtrls
  • custom controls and WM_NOTIFY

    question
    2
    0 Votes
    2 Posts
    0 Views
    C
    Use values great than WM_APP and you should be right.
  • Nested dialogs

    c++ tutorial help learning workspace
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • E-TEAM

    collaboration help question discussion
    9
    0 Votes
    9 Posts
    0 Views
    F
    Here's a few more suggestions. 1. Something (?) using ADSI. I know...kind of vague. 2. Port a unix (linux) tool. Pick your favorite. :) 3. An ASP script editor. 4. A tool that takes advantage of WMI using COM+ 5. A distributed computing project? 6. A simple project management application. Ex: TODO list, Bug lists, feature request database. Perhaps, a plugin to the VC ide to integrate it. I'll try to think up some more. Cheers, Frank
  • Property Sheet ; IShellPropSheetExt, IShellExtInit ?

    question learning
    2
    0 Votes
    2 Posts
    0 Views
    E
    Have you tried using ShellExecute with the "properties" and the file you want information about? Example: ShellExecute(hMyWindowNotExplorer, "properties", "c:\\winnt", "", "", SW_NORMAL); Hope this helps. -Erik
  • sscanf and double

    mcp help question
    4
    0 Votes
    4 Posts
    0 Views
    A
    You might also try strtod() function. Regards, Andrei zenkovitch Dundas Software
  • IRunningObjectTable::Register

    c++ question
    6
    0 Votes
    6 Posts
    1 Views
    A
    Hi! ??? Concerning MSDN it MUST stay there till you call Revoke method.... ??? I have no idea what's going on... Alex Gorev, Dundas Software.
  • COM Beginner

    c++ com sysadmin help learning
    2
    0 Votes
    2 Posts
    0 Views
    A
    Hi! You have a choice of using Both or Apartment depending on the object's scope on the ASP and the way you are going to use it. There is a very good article by Don Box about the threading models (http://www.develop.com/dbox/aspapt.asp), you also can have a look at the Microsoft's articles (http://msdn.microsoft.com/workshop/server/asp/server01242000.asp). Regards, Alex Gorev, Dundas Software.
  • list ctrl pbm

    help
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • Computer System Hardware Classes

    hardware json help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • owner drawn menu tabs

    html graphics json question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Using updated ActiveX controls

    question c++ com learning
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Hosting Band objects?

    hosting help question
    3
    0 Votes
    3 Posts
    0 Views
    N
    Hi Colin: Yes, I determined the same list of interfaces supported by the Explorer Band (or "Folders") band object using the OLE/COM Object Viewer. Fact is, I can host the band just fine -- it completely initializes itself and creates its HWND as expected, I just don't know how to make it do stuff. This band object supports IServiceProvider, through which you can obtain interfaces that aren't necessarily implemented by the object itself. Unfortuntately, I do not know what interfaces it can provide. It would be nice if COM allowed one to enumerate the interfaces on an object... Anyone else have input? Thanks! Nick Hodapp
  • ListView control

    c++ tutorial question
    6
    0 Votes
    6 Posts
    1 Views
    K
    Hi I think you should use the HDN_* notification messages, together with HD_HITTESTINFO and may be WM_MOUSEMOVE and then if conditions are fullfilled just not route these messages any further. Kurt
  • How to print MshFlexgrid in VC++ ?

    c++ tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • ContextMenu! Help!

    help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Trial version

    c++ security help tutorial question
    3
    0 Votes
    3 Posts
    1 Views
    J
    Hello Mark: Thanks for the reply. I appreciate your feedback. I downloaded "Install Maker"..However, I also wanted to add security features in my application. For that, I need either MFC classes or some sample code from codeproject. If you know anything then please let me know. Thanks again. James
  • Bitmaps And Palettes

    graphics question
    4
    0 Votes
    4 Posts
    0 Views
    C
    DIBSections are similar to bitmaps in that you have a handle that you can work with (an HBITMAP in fact), but they are device independant. They offer the best of both worlds: device independance and ease of use. They are also extremely useful when working in CE, since CE doesn't support many of the DIB functions - but does support DIBSections.