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

Search:

Type: Posts; User: mesajflaviu

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: Problem with ScrollBar on SDI application

    Soon as I finish my task, I will give you the solution ...
  2. Re: Problem with ScrollBar on SDI application

    I just work on the same task, I give you what I have done already: (my task is to modify the scrollbar color and style to CGridCtrl) .... my trial is to work on VisualStyle:...
  3. Re: Problem with ScrollBar on SDI application

    Modifying the existing scrollbar could be an option ?
  4. Replies
    6
    Views
    303

    Re: Customize control scrollbar

    On the first sight, there is nothing incompatible by that solution ...
  5. Replies
    6
    Views
    303

    Re: Customize control scrollbar

    In fact, it is logical to be like that, as long CTLCOLOR_BTN change color of a button, CTLCOLOR_EDIT change color of a edit box, CTLCOLOR_SCROLLBAR should change color of an CScrollbar control, not...
  6. Replies
    6
    Views
    303

    Re: Customize control scrollbar

    Soon as I applied that solution, the control scrollbar doesn't drawn anymore, part of the control (CGridCtrl) didn't drawn as well, the focus on this control (CGridCtrl) has weird behavior ... and I...
  7. Replies
    6
    Views
    303

    Customize control scrollbar

    I get a task: to color the control scrollbar (a gridctrl scrollbar, whatever). In the first attempting I didn't succeded ... So, I started to trying coloring a CListBox scrollbar ... I developed a...
  8. Replies
    10
    Views
    649

    Re: 3Way Splitter Window problems!

    Ok, thank you for all support !
  9. Replies
    10
    Views
    649

    Re: 3Way Splitter Window problems!

    After your guidance, I guess I found a solution:


    void CSplitterWndEx::SetActivePane(int row, int col, CWnd* pWnd/* = NULL*/)
    {
    // set the focus to the pane
    CWnd* pPane = pWnd == NULL ?...
  10. Replies
    10
    Views
    649

    Re: 3Way Splitter Window problems!

    The issue is when I call "Next pane" command menu, through F6 accelerator; When I am into first CListView (the top of one), and hit F6, the focus has been moved on the second CListView (the bottom...
  11. Replies
    10
    Views
    649

    Re: 3Way Splitter Window problems!

    Here is the code that illustrate the problem: I create an SDI app, with left view as CTreeView and in right side is a CSplitterWnd where I put 2 lists as CListViews, as follows:


    BOOL...
  12. Replies
    10
    Views
    649

    Re: 3Way Splitter Window problems!

    I come back with a simple app, that describe the behaviour of "Next pane" command (or F6 accelerator). The app have 3 views: CTreeView in left side, and two CListView in right side. If you select an...
  13. Replies
    10
    Views
    649

    Re: 3Way Splitter Window problems!

    I will try to make a simple test app ... in fact is 2 nested CSpitterWnd, and that's why F6 accelerator didn't working properly ... see you soon.
  14. Replies
    10
    Views
    649

    Re: 3Way Splitter Window problems!

    I have the same problem now ... :D ... you got an solution ? :)
  15. Replies
    10
    Views
    612

    Re: Change text and bkg color of CComboBox

    I succeded to upload a test app that illustrate the issue ... here is the code, that is working well if the app hasn't style:


    BOOL CMyComboBox::OnChildNotify(UINT message, WPARAM wParam, LPARAM...
  16. Replies
    10
    Views
    612

    Re: Change text and bkg color of CComboBox

    There was remain a small issue: this solution doesn't work if the control has style ... if doesn't have any style, everything is allright ... where should I search to solve this issue ?
    This is the...
  17. Replies
    10
    Views
    612

    Re: Change text and bkg color of CComboBox

    Ok, kindly thank you !
  18. Replies
    10
    Views
    612

    Re: Change text and bkg color of CComboBox

    Yes, is working now :)
    Here is the code:


    CMyComboBox::CMyComboBox()
    {
    m_Brush.CreateSolidBrush(RGB(255, 0, 0));
    }

    CMyComboBox::~CMyComboBox()
  19. Replies
    10
    Views
    612

    Re: Change text and bkg color of CComboBox

    I uploaded the test project here:
    http://www.filedropper.com/testcolorcombo

    Here I attached the app without style, where color of text and background is custom colored ...
  20. Replies
    10
    Views
    612

    Re: Change text and bkg color of CComboBox

    I attach the app when I can ... I don't know why upload file manager didn't working ...
  21. Replies
    10
    Views
    612

    Change text and bkg color of CComboBox

    I have a derived CComboBox class, where I tried to change text and background of edit from CComboBox, just like this:


    HBRUSH CMyComboBox::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
    {...
  22. Replies
    2
    Views
    234

    Re: CDialog resize in one direction

    I have solved, just like that:


    BOOL CMyDlg::OnInitDialog()
    {
    CDialog::OnInitDialog();

    // TODO: Add extra initialization here

    CRect rect;
  23. Replies
    2
    Views
    234

    CDialog resize in one direction

    Is there any way to allow user to resize a CDialog only in one direction ? I mean, by width, but not by height ? How ? I noticed that overriding WM_SIZE, I can do nothing about this issue ...
  24. Replies
    10
    Views
    579

    Re: IE6 source code

    I guess that standars tab (of MFC) can be customized, I am right ? I have to do some researches ... Thank you.
  25. Replies
    10
    Views
    579

    Re: IE6 source code

    I guess that CHtmlView is the solution ... thank you.
Results 1 to 25 of 75
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center