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

Graham Reeds

@Graham Reeds
About
Posts
7
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Collapsable 3D Studio-esque menu system
    G Graham Reeds

    That's the one, thanks. Wouldn't of thought about looking in DialogBar. Went through Menu and Lists but turned up nothing. Thanks! G.

    C / C++ / MFC question

  • Collapsable 3D Studio-esque menu system
    G Graham Reeds

    ttt

    C / C++ / MFC question

  • Collapsable 3D Studio-esque menu system
    G Graham Reeds

    I while back I found on Code Project a menu system that behaved like the ones found in 3DS MAX. However I have been through all of the menu controls and can't find it. I wonder if anyone knows where it is located for me?

    C / C++ / MFC question

  • Custom owned control going inactive
    G Graham Reeds

    I am using Allan Nielsen's SuperGrid control in a project. Setting of an option will cause the control to go inactive, but the control does not deactive in the 'standard way' when using EnableWindow(FALSE). The background of the control grey's out like normal but the check boxes and text does not. What I would like to happen when the item is deactivated is the selected item to become deselected and the item to be properly greyed out - not just blanket covered by a grey box as that looks unprofessional. I have tinkered around with the code and looked at the DrawItem & ODS_INACTIVE but nothing i have done makes any difference. I need some frame of reference but no examples I can find on ownder drawn controls actually go into making them respond to EnableWindow command. Thanks, G.

    C / C++ / MFC com

  • New look for CodeProject [modified]
    G Graham Reeds

    Chris Maunder wrote:

    HTML purists will be happy to see more of the internals are now XHTML, and much of the formatting moved to CSS.

    To be XHTML you need a doctype of XHTML. Your doctype is still HTML 4.01 Transistional. Also as part of XHTML you need to specify the xhtml namespace. See http://www.w3.org/TR/xhtml1/normative.html for more details. G.

    The Lounge csharp c++ html css com

  • Retrofitting an MFC app to ActiveX
    G Graham Reeds

    John R. Shaw wrote:

    In VC6, I would probably start by creating an ActiveX control shell, using the "MFC ActiveX ControlWizard", and then porting the code into it piece mill (testing as I went), if possible.

    That's the problem - ones done in a Dialog and it seems you can only use dialogs as a dialog in ActiveX. C# is a lot nicer as it hides all the cruft away and you can get on with the coding. However MFC generates zillion comments and macros which I have no idea what they all do. Some articles delete them while others say to leave them alone. Now Borland Builder (5 or 6) doesn't seem so bad...

    C / C++ / MFC com help c++ html sysadmin

  • Retrofitting an MFC app to ActiveX
    G Graham Reeds

    Sorry if this is the incorrect forum - there are several that are labelled not MFC, but non that are specifically MFC or ActiveX. The company where I have just started working would like to enable a part of their program to be usable over the web. As a proof of concept I took the MFC client/server demo by Hans Dietrich and attempted to port the client part of it an ActiveX control. To aid me I have found Steve Zimmerman's port of the Scribble tutorial from MInD (0497). My knowledge of MFC and ActiveX is very minimal at best. I have been trying my best but getting no further to getting a working demo running, despite the apparent simplicity of it. The problem seems to be that the client part of Han's code is the fact that it is done as a CDialog app while the Scribble demo is done as a CFrame. Also the ActiveX initialisation is hidden away inside InitInstance. It's all very frustrating. What I would like is either a link to a demo/tutorial where someone converts a simple MFC app to ActiveX - Steve Zimmerman's article isn't very in depth and adds to much clutter that confuses the issue. Or I would like a very clear tutorial. A lot of the tutorials I have read are very terse or don't touch any of the concepts that I would like to know about. While I don't want to be spoon-fed I would like a few pointers to where I can find the information or specific terms I should be searching for. Thanks, Graham Reeds.

    C / C++ / MFC com help c++ html sysadmin
  • Login

  • Don't have an account? Register

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