A toolbar within a dialog bar?
Lawrence_Chan_at_HONGKONG@pcmailap.japan.ml.com Thursday, August 01, 1996 Enviroment: VC++ 4.0 and Windows NT 3.51 I have a dialog bar in it I included a toolbar. The code compiles all right. When the program executes, I couldn't find my toolbar but with Spy I know that the toolbar is created. Is it possible to create a "visible" toolbar within a dialog bar?
Frank Feingold -- flfsoft@mail.execpc.com Monday, August 05, 1996 [Mini-digest: 3 responses] On 1 Aug 96 at 11:08, Lawrence_Chan_at_HONGKONG@pcm wrote: Try looking at the sample program dlgcbr or dlgcbr32. It in knowledgebase article Q123158 and the souce can be downloaded from ftp.microsoft.com Frank > Enviroment: VC++ 4.0 and Windows NT 3.51 > > I have a dialog bar in it I included a toolbar. The code compiles all > right. When the program executes, I couldn't find my toolbar but with > Spy I know that the toolbar is created. Is it possible to create a > "visible" toolbar within a dialog bar? > > > -- FLFSoft, Inc HTML Builder ffeingol@flfsoft.com Web Publishing Made Easy http://www.execpc.com/~flfsoft/ -----From: Wolfgang Loch...and... SAMPLE: Adding Control Bars to Dialog Boxes in MFC Article ID: Q141751 http://www.microsoft.com/kb/developr/visual_c/Q141751.htm Wolfgang -----From: Wolfgang Loch see KB Article Q123158: SAMPLE: Adding Control Bars to Foundation Classes Dialogs at: http://www.microsoft.com/kb/developr/visual_c/q123158.htm Wolfgang -- /-------------------------------------------------\ | Wolgang Loch (Technical University of Ilmenau) | | e-mail: Wolfgang.Loch@rz.TU-Ilmenenau.DE | | www : http://www.rz.tu-ilmenau.de/~wolo | \-------------------------------------------------/
Lawrence_Chan@pcmailgw.ml.com Thursday, August 08, 1996 Enviroment: VC++ 4.0 and Windows NT 3.51 Thanks for all the responses but I am afraid you guys out there have missed my question. What I intended to do is to put a toolbar inside a dialog bar object, not on a dialog. Thanks.
Wolfgang Loch -- Wolfgang.Loch@RZ.TU-Ilmenau.DE Thursday, August 15, 1996 You are right. I overlooked the fact, that you want a toolbar not within a dialog but within a dialog bar. Actully I haven't done this. And I think I'd use bitmap buttons in the dialog bar instead of another toolbar. Anyhow, if you need to use a toolbar you should look at the technics they use in KB Article Q141751. In fact they add frame window functionality to a dialog. You will have to do this once again for the dialog bar. hope this helps Wolfgang -- /-------------------------------------------------\ | Wolgang Loch (Technical University of Ilmenau) | | e-mail: Wolfgang.Loch@rz.TU-Ilmenenau.DE | | www : http://www.rz.tu-ilmenau.de/~wolo | \-------------------------------------------------/
| Вернуться в корень Архива |