Type: Posts; User: mesajflaviu
Search took 0.01 seconds.
January 22nd, 2015, 07:25 AM
Soon as I finish my task, I will give you the solution ...
January 22nd, 2015, 07:22 AM
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:...
January 22nd, 2015, 02:33 AM
Modifying the existing scrollbar could be an option ?
January 19th, 2015, 03:03 AM
On the first sight, there is nothing incompatible by that solution ...
January 19th, 2015, 02:54 AM
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...
January 16th, 2015, 09:06 AM
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...
January 16th, 2015, 06:21 AM
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...
December 17th, 2014, 05:38 AM
Ok, thank you for all support !
December 17th, 2014, 04:20 AM
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 ?...
December 16th, 2014, 07:11 AM
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...
December 16th, 2014, 07:05 AM
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:
December 16th, 2014, 03:08 AM
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...
December 15th, 2014, 08:52 AM
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.
December 15th, 2014, 07:21 AM
I have the same problem now ... :D ... you got an solution ? :)
December 5th, 2014, 02:45 AM
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...
December 4th, 2014, 06:11 AM
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...
November 27th, 2014, 04:29 AM
November 27th, 2014, 03:45 AM
Yes, is working now :)
Here is the code:
m_Brush.CreateSolidBrush(RGB(255, 0, 0));
November 26th, 2014, 04:02 AM
I uploaded the test project here:
Here I attached the app without style, where color of text and background is custom colored ...
November 26th, 2014, 03:59 AM
I attach the app when I can ... I don't know why upload file manager didn't working ...
November 26th, 2014, 03:57 AM
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)
October 27th, 2014, 08:41 AM
I have solved, just like that:
// TODO: Add extra initialization here
October 27th, 2014, 07:49 AM
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 ...
October 15th, 2014, 02:28 AM
I guess that standars tab (of MFC) can be customized, I am right ? I have to do some researches ... Thank you.
October 15th, 2014, 02:26 AM
I guess that CHtmlView is the solution ... thank you.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.