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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
S

SirMorrisBig

@SirMorrisBig
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Reflection
    S SirMorrisBig

    Thanks!! (C:= Charlie.

    C# question data-structures

  • Reflection
    S SirMorrisBig

    Hello world! I have a class and I wish to get a reference to one of its member variables at runtime. class foo { public string bar1; public string bar2; .. } I have called foo.GetFields() and I am the proud owner of an array of FieldInfo structures giving me information about all of the type's member variables. I can see my strings (checkboxes/bears) in the list. My question is: How can I take this FieldInfo data, and get a reference to the desired variable and hence manipulate it?? Many thanks in advance, Charlie (C:=

    C# question data-structures

  • newbie low-level mfc subclassing q.
    S SirMorrisBig

    Hello all! I'm writing an app which uses many mfc controls. I am using subclasses of ScrollBars and DialogBars, TreeCtrls and some raw CWnds each of which require a common set of properties and methods. It would appear that subclassing CWnd at the object (as opposed to HWND) level would be the ideal solution. There's a couple of ways I can think of to achieve this, but I was wondering if anyone has solved this more elegantly than I could. One way I thought of would be to have all of my controls bolted onto a common placeholder class. Another would be to have an HWND->CWnd map and associate a class with each window which could be used to hold all my data. The final one would be to hook CWnd somehow and store a pointer to my data in one of the window data slots. Any takers?!! Thanks, (C:= Charlie.

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