Search:
Type: Posts; User: maglite
Search:
Search took 0.01 seconds.
-
July 22nd, 2009, 05:44 PM
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...
-
July 22nd, 2009, 05:17 PM
Hi.
I have a CListCtrl in a modal Dialog. The control has the following styles:
- Report
- Single Selection
- No Scroll
- No Sort Header
- Always Show Selection
- Grid Lines
-
June 30th, 2009, 02:33 PM
You already include Avatar.h in Environment.h. That double inclusion could cause some of the errors.
-
June 24th, 2009, 06:32 AM
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...
-
June 24th, 2009, 06:11 AM
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:...
-
June 22nd, 2009, 04:58 AM
Hi Mike.
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:
...
CRichEditCtrl...
-
June 17th, 2009, 04:38 AM
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??
-
June 15th, 2009, 05:45 AM
Alright. Thank you for now. I'm going to derive my own list control and let you know if it worked.
-
June 15th, 2009, 05:20 AM
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.
...
-
June 15th, 2009, 04:48 AM
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...
-
June 15th, 2009, 04:36 AM
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.
-
June 15th, 2009, 04:20 AM
Hello!
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...
-
Hello,
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
|