Click here to Skip to main content
16,014,591 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnGetMinMaxInfo Pin
G. Steudtel7-Mar-03 5:51
G. Steudtel7-Mar-03 5:51 
GeneralTHanks!!!!Great info! Pin
ns11-Mar-03 1:51
ns11-Mar-03 1:51 
GeneralContextMenu with CTabCtrl Pin
AnTri7-Mar-03 4:11
AnTri7-Mar-03 4:11 
GeneralRe: ContextMenu with CTabCtrl Pin
Ernest Laurentin7-Mar-03 5:20
Ernest Laurentin7-Mar-03 5:20 
GeneralRe: ContextMenu with CTabCtrl Pin
Brian Shifrin7-Mar-03 6:27
Brian Shifrin7-Mar-03 6:27 
Generalreactivate the view in an SDI app Pin
luedi7-Mar-03 4:06
luedi7-Mar-03 4:06 
GeneralRe: reactivate the view in an SDI app Pin
Brian Shifrin7-Mar-03 6:38
Brian Shifrin7-Mar-03 6:38 
GeneralRe: reactivate the view in an SDI app Pin
luedi7-Mar-03 12:08
luedi7-Mar-03 12:08 
Hi,

because the CEditView can do FindText out of the box.

I know, you can always implement that yourself, but why should I. Only because MFC does a tight coupling between Views and the Frame?

There are thousands of reasons, why someone does this or that. I tried converting my application to an MDI app. With the result, that this is as much trouble, than sticking with an SDI app.

Views are the same thing than Controls. Only that they have an attached document (which is no problem), and that they talk to the frame directly (which is a problem). There is no bad thing about using Views as Controls. Thing for example at the CScrollView. I can think of a lot of Controls that could need scrolling capabilites. Why shouldn't I use a CScrollView as the base class for such controls.

And now think of a CFrameView that has these CScrollView derived controls on them. Boom, you get the same problem if you click on this control.

I would have derived my controls from a CScrollCtrl if there was one, but there wasn't.

I would have used a CEditCtrl that can do FindText, if there was one, but there wasn't Wink | ;-)

Dirk
GeneralCFile Write Pin
ns7-Mar-03 3:28
ns7-Mar-03 3:28 
GeneralRe: CFile Write Pin
Chris Losinger7-Mar-03 3:39
professionalChris Losinger7-Mar-03 3:39 
GeneralThanks and another ques about OnSize Pin
ns7-Mar-03 3:45
ns7-Mar-03 3:45 
GeneralRe: Thanks and another ques about OnSize Pin
ns7-Mar-03 4:16
ns7-Mar-03 4:16 
GeneralEmbedding Internet Explorer (Win32, no MFC) Pin
Dominik Reichl7-Mar-03 2:43
Dominik Reichl7-Mar-03 2:43 
GeneralRe: Embedding Internet Explorer (Win32, no MFC) Pin
Stefan Pedersen7-Mar-03 3:40
Stefan Pedersen7-Mar-03 3:40 
GeneralCreating memory bitmap Pin
Anonymous7-Mar-03 2:13
Anonymous7-Mar-03 2:13 
GeneralRe: Creating memory bitmap Pin
Joel Lucsy7-Mar-03 2:36
Joel Lucsy7-Mar-03 2:36 
GeneralRe: Creating memory bitmap Pin
djordj7-Mar-03 2:40
djordj7-Mar-03 2:40 
GeneralRe: Creating memory bitmap Pin
Scott H. Settlemier7-Mar-03 4:09
Scott H. Settlemier7-Mar-03 4:09 
GeneralRe: Creating memory bitmap Pin
djordj7-Mar-03 4:14
djordj7-Mar-03 4:14 
GeneralRe: Creating memory bitmap Pin
Scott H. Settlemier7-Mar-03 4:42
Scott H. Settlemier7-Mar-03 4:42 
GeneralInstalling VC7.0 Pin
Dave_7-Mar-03 1:52
Dave_7-Mar-03 1:52 
GeneralRe: Installing VC7.0 Pin
RobJones7-Mar-03 8:13
RobJones7-Mar-03 8:13 
GeneralRe: Installing VC7.0 Pin
Dave_7-Mar-03 8:19
Dave_7-Mar-03 8:19 
GeneralVC6 Debugger Problem Pin
Paul Farry7-Mar-03 0:34
professionalPaul Farry7-Mar-03 0:34 
GeneralRe: VC6 Debugger Problem Pin
Brian Shifrin7-Mar-03 6:42
Brian Shifrin7-Mar-03 6:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.