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
B

Bret Faller

@Bret Faller
About
Posts
86
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • VS.NET Beta 2 -> RC1 Resource problems
    B Bret Faller

    When trying to compile a Beta2 project in RC1 I get this error: C:\Misc Projects\VSNET Samples\NetSamples\PeerChat\PeerChat.resx Resource transformation for file 'PeerChat.resx' failed. Invalid ResX input. I get that error for every resource file, any ideas? Any help is greatly appreciated. Thanks. Bret Faller Odyssey Computing, Inc.

    .NET (Core and Framework) help csharp visual-studio beta-testing question

  • Question about operator new
    B Bret Faller

    Its telling you that set_new_handler function is not a member of the namespace std. Instead of std::set_new_handler you should use NewHandlerSupport::set_new_handler Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC c++ question sharepoint performance help

  • IWebBrowser2->ExecMB(...) problem
    B Bret Faller

    You can use the Navigate2 function and pass the flag navOpenInNewWindow and use about:blank for the URL. Bret Faller Odyssey Computing, Inc.

    COM data-structures help

  • chtmlview
    B Bret Faller

    You need to get a pointer the the IHTMLDocument2 interface which can be done like so:

    IDispatch* pDisp = GetHtmlDocument();
    IHTMLDocument2* pDoc = NULL;
    pDisp->QueryInterface(IID_IHTMLDocument2, (void**)&pDoc);
    IHTMLElementCollection* pColl = NULL;
    pDoc->get_forms(&pColl);

    Then you can browse through all the objects on the form (document) by using the methods of the IHTMLElementCollection interface. Hope this helps. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC learning

  • Desktop Icon text color
    B Bret Faller

    Do you know how to get the hue/luminance of a color? That is what its based on. Thanks. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC question help

  • Desktop Icon text color
    B Bret Faller

    But how do I find out if its black or white? Also, there is a utility called SetTextColor made by Pact Software www.12ghosts.com which says they send a message to the desktop telling it to change the icon text color...how do they do that? Thanks. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC question help

  • Desktop Icon text color
    B Bret Faller

    How can I find out what the color of the desktop icons' text is? It looks like GetSysColor won't do it. Any help is greatly appreciated. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC question help

  • Check boxes and HtmlView
    B Bret Faller

    This is a nice article and I thank you for your response. The problem is that this is for CE and is a CCtrlView which uses DISPLAYCLASS (the name of the html control class under CE). Is it still possible with this as the base class or do I need to redo this class? Thank you once again for your response. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC help question

  • Check boxes and HtmlView
    B Bret Faller

    Good day, How would I go about determining whether a checkbox is checked/unchecked on a webpage inside my HTMLView? This is a custom webpage that I have the source and know all the info about it. The view doesn't allow users to cruise the net, its like the Outlook Express startup page. Any leads/info/help is greatly appreciated. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC help question

  • What does 'handle' mean ?
    B Bret Faller

    I believe that a pointer is an actual object (CWnd for example) and a handle is the location in memory of that object (or object referenced by the pointer). So say you have a window in memory and you want to access the methods/properties of that window...you would have a pointer/object that "attaches" itself to the window at that memory location thereby giving you access to its "structure and methods". Hope that helps. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC tutorial question lounge

  • MFC ActiveX and Interfaces
    B Bret Faller

    You should have a .tlb file which in ClassWizard you can select New Class from Type Library and it will generate the cpp/h for the type-library. Also, if you don't want to have the header/cpp files you can always do an #import. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC c++ com help testing tools

  • Filling a Solid Rect
    B Bret Faller

    Actually its my own custom GetItemRect function because this is for a multiline ListCtrl that I am making and it determines the size of the row based on how many lines of text the biggest subitem has. It takes the itemid and the original rect of the item which comes from the DRAWITEMSTRUCT in my DrawItem function and then it inflates it based on how many lines of text are in the biggest subitem. Thanks for your response though. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC architecture help question

  • CListCtrl and Selection...
    B Bret Faller

    Well if you are doing the processing in a loop then you could just set the ItemState to Nonselected as soon as you are done processing that item and then when all processing is done set the selection mark to -1. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC help question

  • OL2k Addin DLL Problem
    B Bret Faller

    Do you have any idea at what point its having the problem exactly, and if so, what does the code look like? Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC c++ com help question

  • CoGetMalloc under Windows CE
    B Bret Faller

    I've done this exact project and I used CoTaskMemAlloc/CoTaskMemFree and malloc/free for allocating buffer space. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC performance help question announcement

  • Property list like visual studio??
    B Bret Faller

    Look in the List Control section here on CodeProject, I was just there. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC c++ csharp css visual-studio question

  • Is it even possible to create a multiline CListCtrl in report mode?
    B Bret Faller

    Its possible. http://www.codeguru.com/listview/ReportCtrl.shtml Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC help question

  • SMTP Commands (Read Receipts)
    B Bret Faller

    Thanks for your response. Actually it is Disposition-Notification-To:

    It took me forever to find this. I first thought it was Read-Receipt-To but it never worked. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC help tutorial question

  • SMTP Commands (Read Receipts)
    B Bret Faller

    Good day, Does anyone know how to request a read receipt through an smpt command like NOTIFY or RET or anything? I've been looking all over the internet but can't seem to find anything on it. I know how to do it programatically using MAPI and Outlook but I have an smtp wrapper class and want to use a straight code rather than using MAPI, etc. Any help is greatly appreciated. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC help tutorial question

  • ATL/COM Question
    B Bret Faller

    Very nice clarification. Thank you very much for your response. Bret Faller Odyssey Computing, Inc.

    C / C++ / MFC question c++ com help 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