Originally posted by: Mile Davidovic
Anyone know how to disable a item?
Originally posted by: hari krishna
hello
this is hari krishna from india
my doubts are
1.is it possible to add the events(like mouseclick) to the line control which ia already in vb tool box
2.i ve to create a class whose object is a line and the associate events are the standard events like mouseclick
please give me the site names to refer the things regarding this
Originally posted by: objects
There's assertion when I make WM_MOUSEWHELL with my wheel mouse.
The MFC requires decendant of CScrollView.
Originally posted by: Mile
If I have only 1 folder
wndBar.AddFolder("Command", 0);
wndBar.InsertItem(0, 0, "a", 0, 0);
wndBar.InsertItem(0, 1, "b", 1, 0);
wndBar.InsertItem(0, 2, "c", 2, 0);
wndBar.InsertItem(0, 3, "d", 3, 0);
wndBar.InsertItem(0, 4, "e", 0, 0);
wndBar.InsertItem(0, 5, "f", 1, 0);
wndBar.SetSelFolder(0); // on this line make error?
Originally posted by: Simon
I want to animate more then one items at the same time. How can I do?
ReplyOriginally posted by: beachboy
When i add to Listbox at formview in the right pane
i want output at Listbox, but if i change the view.
the output at listbox disappeard. i don't know why.....
thank you for concern.....Best Regards,
ReplyOriginally posted by: Ryan
When you call SetItemText(), the specific text does not repaint itself...
Just add one line:
Invalidate();
to the end of the function.
Reply
Originally posted by: Dirk Meier
K.C. Parks made a nice suggestion to change the view in the right splitter pane:
He used the following code to set the document in the context:
...
CCreateContext context;
context.m_pCurrentDoc = GetActiveDocument();
...
Then John noticed that he cannot access the document.
I had the same problem, so here is the solution:
1.
...
CCreateContext context;
CDocument *doc;
CView *view = (CView*)wndSplitter.GetPane(0,1);
doc = view->GetDocument();
context.m_pCurrentDoc = doc;
...
2. Add the line
m_bAutoDelete=FALSE;
in the documents constructor.
Regards,
Dirk
Originally posted by: Nigel Page-Jones
Great control.
When viewing small icons the text gets truncated when the there isn't enough space. It doesn't wrap to a second line as with the big icons.
Does anyone have a solution?
Thanks in advance.
ReplyOriginally posted by: Heiko
I have try to create on the right pane an new splitter window with 2 views, like Outllok 2000 with preview window.
But CGfxSplitterWnd works not correct as child of a parent splitter window.
Can everyone help me!!!