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

stevy82

@stevy82
About
Posts
12
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • combobox event in propertypage
    S stevy82

    Jose Lamas Rios wrote: A silly restriction, if you don't mind my sincerity. You are right. Jose Lamas Rios wrote: Is this a real world program It is. Subclassing the combobox? Oh no. Well, I see I won't get it done within the view. I think I should rather occupy with the silly restriction than trying to find a solution. :doh:

    C / C++ / MFC question

  • combobox event in propertypage
    S stevy82

    Of course, I'm allowed to write code ;) Which other restrictions (in fact there are no other restrictions than avoiding to create such sub classes) does it depend on? I just wonder how to get the CBN_SELCHANGE message passed to the view.

    C / C++ / MFC question

  • combobox event in propertypage
    S stevy82

    Because I was given the system in the way I mentioned and it is a demand not to create derived classes like that. Ain't it possible to handle the event within the View?

    C / C++ / MFC question

  • combobox event in propertypage
    S stevy82

    How can I do that?

    C / C++ / MFC question

  • combobox event in propertypage
    S stevy82

    It is a child of a property page which is part of a property sheet. I do not have neither a derived sheet class nor a derived page class.

    C / C++ / MFC question

  • combobox event in propertypage
    S stevy82

    Let's say, I have to do it so. You understand? ;-) Okay, now is there a possibility to handle it in the view or not?

    C / C++ / MFC question

  • combobox event in propertypage
    S stevy82

    Right, so I would have to handle the event in my CPropertySheet. Since I do not have a derived CPropertySheet class, I wish to handle it within the view class!

    C / C++ / MFC question

  • combobox event in propertypage
    S stevy82

    I've got a CFormView-derived class. It contains a CPropertySheet member, that is, it is not a CPropertySheet-derived class. On one page of the property sheet there is a combobox. So how can I treat a CBN_SELCHANGE event from that combobox within the View class? Pseudocode: public CMyView : CFormView {    CPropertySheet* m_sheet;    CPropertyPage* m_page; // this page contains a combobox } ...    m_sheet->AddPage(m_page); ... void CMyView::ComboBoxHandlerFcn {    DoSomething(); } stevy

    C / C++ / MFC question

  • CComboBox selection state before CBN_SELCHANGE
    S stevy82

    I need to know the Combobox selection that was before the user changed the selection. If I use OnChangeCbXXX() { int selection = m_cbXXX.GetCurSel() } then selection holds the new value. How to get the value before the change???

    C / C++ / MFC tutorial question

  • Docking ControlBars
    S stevy82

    Nobody an idea?

    C / C++ / MFC question

  • Docking ControlBars
    S stevy82

    I've got a DialogBar A docked at the top of the frame window. How can I do to dock another DialogBar B at the right side of DialogBar A. I tried pFrame->DockControlBar(pDialogBarA, AFX_IDW_DOCKBAR_TOP|AFX_IDW_DOCKBAR_RIGHT) but the AFX_IDW_DOCKBAR_xxx only refer to the frame window

    C / C++ / MFC question

  • CTreeCtrl drag & drop
    S stevy82

    Is it possible to drop a dragged item between two nodes? That means the user should be able to "insert" a dragged item in the tree. I've found nothing on this site yet

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