CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: maglite

Search: Search took 0.01 seconds.

  1. Re: Change Selection in CListCtrl when Arrow Keys are pressed

    I tried it and you're right. That explains a lot :-S Thank you. I would've wasted a couple more hours on this...
    This way though the selection doesn't "jump" to the first item when pressing the down...
  2. Change Selection in CListCtrl when Arrow Keys are pressed

    Hi.

    I have a CListCtrl in a modal Dialog. The control has the following styles:

    - Report
    - Single Selection
    - No Scroll
    - No Sort Header
    - Always Show Selection
    - Grid Lines
  3. Replies
    11
    Views
    1,601

    Re: Strange Errors, Possibly Bugged VS

    You already include Avatar.h in Environment.h. That double inclusion could cause some of the errors.
  4. Replies
    1
    Views
    1,008

    Re: Communication between two classes

    Could you be a bit more specific? What do you mean with communication?

    If you have two classes A and B you can call a method of A from a method of B if either an Object of class A is a member of...
  5. Replies
    9
    Views
    3,963

    Re: Implementing drag n drop in a CRichEditView?

    What if you just add a handler for the WM_DROPFILES message to your view class? It is possible to get the filename via DragQueryFile in there.

    Have a look at this:...
  6. Replies
    9
    Views
    3,963

    Re: Implementing drag n drop in a CRichEditView?

    Hi Mike.

    Microsoft says that you have to send the EM_SETEVENTMASK message to the CONTOL not to the View itself. Try something like this in your OnInitialUpdate handler:



    ...
    CRichEditCtrl...
  7. Replies
    15
    Views
    3,185

    Re: Need Help embeded word .tlh issue

    I just stumbled over the same issue. Has someone finally found a way to use word automation with VC 8 and Word 2003 without using VC 7 first??
  8. Re: ComboBox as child of a ListCtrl in a FormView

    Alright. Thank you for now. I'm going to derive my own list control and let you know if it worked.
  9. Re: ComboBox as child of a ListCtrl in a FormView

    I meant the trouble that results in NOT deriving my own class but doing it the way I did. ;)


    Using CDocument::UpdateAllViews is what I meant by communication. I should have been more exact.

    ...
  10. Re: ComboBox as child of a ListCtrl in a FormView

    Well, I thought it would save me some work - obviously without thinking about the trouble it could get me in.

    But that's not the whole reason. I have a doc-view application with multiple views...
  11. Re: ComboBox as child of a ListCtrl in a FormView

    I avoided deriving my own list control. The combo box is also a member of the CFormView derived class but created as the list control's child.
  12. ComboBox as child of a ListCtrl in a FormView

    Hello!

    In an application I have a Form View with a list control (m_ctrlList) in it, among others. The list control is set to report style. There is also a combo box that is supposed to show up,...
  13. Replies
    2
    Views
    8,143

    Re: MFC: CSplitterWnd, runtime class

    I now see that my question doesn't make much sense in the way that i want to pass parameters to the constructor of the view, since the constructor is of course protected...

    Thank you for your...
  14. Replies
    2
    Views
    8,143

    MFC: CSplitterWnd, runtime class

    Hello,

    I have the following problem/question:

    Let's say I have a class CMyView derived from CView whose constructor can take parameters which influence the view's initial appearance (e.g. an...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured