Type: Posts; User:
I tried it and you're right. That explains a lot :-S Thank you. I would've wasted a couple more hours on this...
This way though the selection doesn't "jump" to the first item when pressing the down...
I have a CListCtrl in a modal Dialog. The control has the following styles:
- Single Selection
- No Scroll
- No Sort Header
- Always Show Selection
- Grid Lines
You already include Avatar.h in Environment.h. That double inclusion could cause some of the errors.
Could you be a bit more specific? What do you mean with communication?
If you have two classes A and B you can call a method of A from a method of B if either an Object of class A is a member of...
What if you just add a handler for the WM_DROPFILES message to your view class? It is possible to get the filename via DragQueryFile in there.
Have a look at this:...
Microsoft says that you have to send the EM_SETEVENTMASK message to the CONTOL not to the View itself. Try something like this in your OnInitialUpdate handler:
I just stumbled over the same issue. Has someone finally found a way to use word automation with VC 8 and Word 2003 without using VC 7 first??
Alright. Thank you for now. I'm going to derive my own list control and let you know if it worked.
I meant the trouble that results in NOT deriving my own class but doing it the way I did. ;)
Using CDocument::UpdateAllViews is what I meant by communication. I should have been more exact.
Well, I thought it would save me some work - obviously without thinking about the trouble it could get me in.
But that's not the whole reason. I have a doc-view application with multiple views...
I avoided deriving my own list control. The combo box is also a member of the CFormView derived class but created as the list control's child.
In an application I have a Form View with a list control (m_ctrlList) in it, among others. The list control is set to report style. There is also a combo box that is supposed to show up,...
I now see that my question doesn't make much sense in the way that i want to pass parameters to the constructor of the view, since the constructor is of course protected...
Thank you for your...
I have the following problem/question:
Let's say I have a class CMyView derived from CView whose constructor can take parameters which influence the view's initial appearance (e.g. an...
Click Here to Expand Forum to Full Width