Hi Ray, ... from ... You can do it that way. I usually just implement OnSize handler in all windows that contain others, and in OnSize I resize children. It...
112
Nenad Stefanovic
nenads@...
Jul 2, 2000 12:46 am
Hi Chris, I am sorry that you ran into that problem. It was an oversight on our part, since any mixing of ATL/WTL and MFC files will cause a problem. DevStudio...
113
Nenad Stefanovic
nenads@...
Jul 2, 2000 12:50 am
Hi Chris, As I said in my previous posting, you can change included files in the RC by selecting the "View.Resource Includes" menu option, and then changing...
114
Nenad Stefanovic
nenads@...
Jul 2, 2000 1:43 am
Hi Ray, CBitmapButton draws the image in an overrideable function DoPaint. If you derive a class for CBitmapButtonImpl<>, you can just implement your own ...
115
Ray Tayek
rtayek@...
Jul 2, 2000 3:07 am
hi, trying to derive a class from CTabCtrl as follows: class TabControl:public CTabCtrl { public: //DECLARE_WND_CLASS(NULL) BEGIN_MSG_MAP(TabControl) ...
116
Ray Tayek
rtayek@...
Jul 2, 2000 3:14 am
... me to, i call sizeChildren() from OnSize(). but since i have derived 3 or 4 views from my view class, sizeChildren needs to be virtual in order to dtrt....
117
Ray Tayek
rtayek@...
Jul 2, 2000 3:18 am
... this is real good news (i.e. that there *will* be another release of wtl). there has been some speculation that wtl will not be supported in the future...
118
Ray Tayek
rtayek@...
Jul 2, 2000 3:43 am
... there is a comment that says overrideable, but DoPaint is not virtual :) ... he uses draw_image. i sort of need a stretchblit() here. ... that would...
119
Nenad Stefanovic
nenads@...
Jul 2, 2000 10:07 am
Hi Ray, CTabCtrl is so called "wrapper" or a "client" class. It only wraps Tab control messages, it doesn't have a WinProc. If you want to handle messages, you...
120
Nenad Stefanovic
nenads@...
Jul 2, 2000 10:09 am
Hi Ray, OnSize doesn't need to be virtual. It is called from the message map (which is ProcessWindowMessage) and that is virtual, so when your handler is...
121
Nenad Stefanovic
nenads@...
Jul 2, 2000 11:02 am
Hi Ray, Yes, there will be another release of WTL, we are working on it. I know that there were some confusing statements about availability of WTL, but that...
122
Nenad Stefanovic
nenads@...
Jul 2, 2000 11:02 am
Hi Ray, DoPaint is overrideable and not virtual. That is possible through a magic of templates. DoPaint is accessed through a pointer to a derived class, and...
123
Ray Tayek
rtayek@...
Jul 2, 2000 6:40 pm
... ohhh!, just like the mainframe and view classes with the tbase=cwindow (light goes on in head). ... works like a charm now :) thanks for working on the...
124
Ray Tayek
rtayek@...
Jul 3, 2000 11:07 pm
hi, trying to change the background color of some buttons (and other controls). while doing something like: ...
125
Chris Russell
cdr@...
Jul 5, 2000 9:07 pm
Create a simple application with the ATL/WTL AppWizard. Run it. Bring up the Desktop | Properties | Appearance property page and select "Hight Contrast #2...
126
Nenad Stefanovic
nenads@...
Jul 7, 2000 9:44 am
Hi Ray, Every control has its own way of handling colors. For buttons, you'll find out that you can't change them at all. Buttons always use COLOR_3DFACE and ...
127
Nenad Stefanovic
nenads@...
Jul 7, 2000 9:47 am
Hi Chris, You are right - the best way to handle this is to destroy command bar window and create it again. We couldn't find a simple way for the toolbar...
128
rja@...
Jul 7, 2000 12:42 pm
Hi, Thanks for the email. I'm actually out of the office at the moment and will not be back until the 17th of July. Please forward any Vivid related emails to...
129
rja@...
Jul 8, 2000 11:49 am
Hi, Thanks for the email. I'm actually out of the office at the moment and will not be back until the 17th of July. Please forward any Vivid related emails to...
130
rja@...
Jul 9, 2000 12:45 pm
Hi, Thanks for the email. I'm actually out of the office at the moment and will not be back until the 17th of July. Please forward any Vivid related emails to...
131
Ray Tayek
rtayek@...
Jul 10, 2000 3:03 am
... yes, i have given up on that. i was hoping to use the drawing functionality that was built in. ... ok ... regarding "... different superclass for different...
132
Nenad Stefanovic
nenads@...
Jul 10, 2000 3:21 am
Hi Ray, What you are doing in your code example is per instance change. However, you are modifying Windows class data, which is static to the class, so it's...
133
Lipp Christian
Christian.Lipp@...
Jul 10, 2000 8:11 am
I got an compiler error when trying to compile the windows explorer sample from develop mentor (chris sells et al). The compiler is complaining about an...
134
Nenad Stefanovic
nenads@...
Jul 10, 2000 8:27 am
Hi Christian, It is probably that you have old header files. You can use the newest one from the Platform SDK. Install SDK from ...
135
Lipp Christian
Christian.Lipp@...
Jul 10, 2000 8:32 am
I want to develop an application which has a number of views - a dialog-based (for rc-edit) form with various controls - another dialog-based (for rc-edit)...
136
Nenad Stefanovic
nenads@...
Jul 10, 2000 8:41 am
Hi Christian, Since you have a specific needs for your design, I would recommend you to create custom code to handle your views. m_hWndView, actually...
137
rja@...
Jul 10, 2000 11:45 am
Hi, Thanks for the email. I'm actually out of the office at the moment and will not be back until the 17th of July. Please forward any Vivid related emails to...
138
Lipp Christian
Christian.Lipp@...
Jul 10, 2000 3:11 pm
Hello Nenad! Thank you for your promt answer! In my understanding I could also put the whole stuff into another view (then I don't have to overrride...
139
Nenad Stefanovic
nenads@...
Jul 10, 2000 4:52 pm
Hi Christian, Yes, you could put them in another view, but you'd still need to write the positioning code for your views. It seems that you don't need to have...
140
rja@...
Jul 11, 2000 1:22 pm
Hi, Thanks for the email. I'm actually out of the office at the moment and will not be back until the 17th of July. Please forward any Vivid related emails to...