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

Search:

Type: Posts; User: prernagupta171995

Search: Search took 0.05 seconds.

  1. Can we use OnDrawItem for dynamically created CStatic objects ?

    The main problem is a CStatic Object is created dynamically & when I'm changing the background of entire dialog to white, the background of dialog changes except the CStatic Object.

    Also if...
  2. Replies
    4
    Views
    1,094

    Re: CSpinButtonCtrl

    Thanks for the response Victor will try to implement the OnDraw function.
  3. Replies
    4
    Views
    1,094

    Re: CSpinButtonCtrl

    Yes CMFCSpinButtonCtrl is also derived from CSpinButtonCtrl.
  4. Replies
    4
    Views
    1,094

    CSpinButtonCtrl

    How can we change the background color from grey to another of Arrow Buttons of CSpinButtonCtrl Class ?
  5. Re: Mouse Hovering changes the state of size of CMFC button

    Hi Victor,

    1. Sorry typo error
    Main.h

    CMFCButton n_button;

    2. Yeah width nd height were eg.
    Actual the width & height is 22,11
  6. Mouse Hovering changes the state of size of CMFC button

    Requirement - Size of CMFC button should not change on mouse hovering

    File.rc
    PUSHBUTTON ">",IDC_A,2,2,2,2

    Main.cpp
    DDX_Control(pDx,IDC_A,m_button);

    Main.h
    CMFC m_button;
  7. Coloring the highlighted row in CListControl

    Currently in CListControl the highlighted color of row is the default windows ( navy blue color )

    How can I change the default windows color of highlighted row in CListControl ?
  8. Highlight the selected row color in CSftTree class

    Plz find the below code



    A a;
    COLORREF m_highlightColour:
    a.m_highlightColour = RGB(212,235,242);


    Note Class A is derived from CSftTree &
  9. Padding between text and radio button

    Plz find the below code in .rc file

    CONTROL "Prerna:", IDC_PRERNA, "Button", BS_AUTORADIOBUTTON | BS_LEFTTEXT | BS_RIGHT | WS_GROUP, 5,5,200,15

    Note : here Prerna is the text and after 10...
  10. Re: Changing tab order of buttons of Cpropertysheet

    No I meant what I posted was wrong. I implemented the correct code and took your suggested reference
  11. Re: Changing tab order of buttons of Cpropertysheet

    Yes Victor I have read and it is implemented now.
  12. Re: Changing tab order of buttons of Cpropertysheet

    Thanks for your response.
    I'm currently using
    but1 -> SetWindowPos (*this, 5,5,5,5,SWP_SHOWWINDOW )

    where but1 is a CButton

    Can you please help me with the correct parameters of this...
  13. Re: Changing tab order of buttons of Cpropertysheet

    Hi VictorN,

    I am currently moving forward with your approach ie to use SetWindowPos function.
    But i have a query in the same.

    The parameter uFlags has values which are all specific to be...
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured