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

Search:

Type: Posts; User: GCDEF

Page 1 of 80 1 2 3 4

Search: Search took 0.45 seconds.

  1. Replies
    1
    Views
    326

    Re: Polymorphism Issues

    entity is an object. It needs to be a pointer
  2. Replies
    9
    Views
    555

    Re: vb6 will and VC98 C++ won't

    If you want help you should answer questions that are asked
  3. Replies
    9
    Views
    555

    Re: vb6 will and VC98 C++ won't

    Let's see your code. What do you mean "won't process"?
  4. Replies
    2
    Views
    405

    Re: Changing background Color of CRect

    A CRect isn't a window. It has no color.

    You may want to read up on CWnd::OnCtlColor
  5. Replies
    6
    Views
    849

    Poll: Re: convert c code to java code

    Is there a point to this post?
  6. Replies
    5
    Views
    489

    Re: Hide a service with API only

    Why would you want to do that?
  7. Replies
    15
    Views
    1,365

    Re: Changing tab order of buttons of Cpropertysheet

    Victor is right. I misread the post.
  8. Replies
    15
    Views
    1,365

    Re: Changing tab order of buttons of Cpropertysheet

    How did you change the order? It should follow the sequence you use when you call AddPage
  9. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    I would assume you want to use your custom code for the tab control and the base class implementation for everything else, including the buttons.
  10. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    Did you try the code I posted a few posts back?
  11. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    Google it. Did you try the code?
  12. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    I created an app from scratch and experienced the same results as the OP. Not sure why modifying an existing app worked. Anyway, here is code in my new app that works.

    In OnInitDialog in your...
  13. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    Did UpdateData get called?
    Did m_ok have a valid m_hWnd after the call?
    Did you step into the DDX call to see why it was failing if it was?
    Did m_ok have a valid m_hWnd after UpdateData and when...
  14. Replies
    8
    Views
    618

    Re: Changing background color of CButton

    I showed you how to do it with CMFCButton. There was obviously something simple wrong with your code and suggested you use the debugger to figure out what. Did you?
  15. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    I'm saying time to do some stepping to figure out what's happening
  16. Replies
    32
    Views
    2,055

    Re: Coloring header row of CListCtrl C++

    Code tags and formatting please. That mess is unreadable.
  17. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    If this is really your code


    BOOL MyPropertysheet:: OnInitDialog()
    {
    BOOL bResult = CPropertySheet:: OnInitDialog();
    UpdateData(FALSE);

    m_ok.SetFaceColor(RGB(255,102,0);
  18. Replies
    7
    Views
    1,656

    Re: CProgressCtrl problem

    You could try adding DOF_m_fault_progress.UpdateWindow() to force it to update immediately.
  19. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    IDOK is right and worked for me. I asked the OP to check if m_ok had a valid m_hWnd. No response to that one yet.
  20. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    Code tags
    What is CMFCBUTTON?
    Use the debugger to see if m_ok has a valid m_hWnd.
  21. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    Same question that has been asked. Keeping in mind that C++ is a case sensitive language, what is CMFCBUTTON?
  22. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    I said REAL code. Also, use CODE tags, not QUOTE. We're trying here, but if you're going to keep posting nonsense, there's not much point.
  23. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    Post your latest REAL code
  24. Re: Changing background Color of standard buttons (ok,cancel,help) of Cpropertysheet

    Worked for me. This is the code in my CPropertySheet derived class.


    BOOL bResult = CPropertySheet::OnInitDialog();
    UpdateData(FALSE);
    m_OK.SetFaceColor(RGB(255, 0, 0));

    and
  25. Thread: Urgent: DLL

    by GCDEF
    Replies
    4
    Views
    458

    Re: Urgent: DLL

    Why does it matter who writes the header files? Just implement the function bodies in a DLL.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)