15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Dialog Bar usage

Alex Fok -- alexp@sharnoa.co.il
Tuesday, March 18, 1997

Environment: WIN95, VC++ 4.0.

Hi, folks!
I have a stupid problem with Dialog Bar windows' behavior.
I want to equip my application with windows, that will behavior exactly 
like MS Developer Studio Watch, Output, Project Workspace..., windows
do.
Particularly, I want these windows to be Dockable Dialog Bars with
esize capability, dynamic option to convert the Dialog Bar to appear
like
regular child window and so on. I tried to use the CDialogBar class to
achieve this functionality, but I failed to resize the dialog bar.
Any design or practical ideas will be really appreciated.
Thank You in advance.

-- 
 ____________________________________________________________
|                     |                                      |
| Alexander Fok       | E-mail:  alexp@sharnoa.co.il         |
| Software Engineer   | Office:  +972-7-6285058              |
|                     |    Fax:  +972-7-6277859              |
| Xtrol (Sharnoa)     | Home:    +972-7-6271886              |
| Corporation Israel  | WWW : http://www.cs.bgu.ac.il/~alexf |
|_____________________|______________________________________|



Ben Burnett -- benner@supernet.ab.ca
Saturday, March 22, 1997

Alex Fok wrote:
> 
> Environment: WIN95, VC++ 4.0.
> 
> Hi, folks!
> I have a stupid problem with Dialog Bar windows' behavior.
> I want to equip my application with windows, that will behavior exactly
> like MS Developer Studio Watch, Output, Project Workspace..., windows
> do.
> Particularly, I want these windows to be Dockable Dialog Bars with
> esize capability, dynamic option to convert the Dialog Bar to appear
> like
> regular child window and so on. I tried to use the CDialogBar class to
> achieve this functionality, but I failed to resize the dialog bar.
> Any design or practical ideas will be really appreciated.
> Thank You in advance.
> 
> --
>  ____________________________________________________________
> |                     |                                      |
> | Alexander Fok       | E-mail:  alexp@sharnoa.co.il         |
> | Software Engineer   | Office:  +972-7-6285058              |
> |                     |    Fax:  +972-7-6277859              |
> | Xtrol (Sharnoa)     | Home:    +972-7-6271886              |
> | Corporation Israel  | WWW : http://www.cs.bgu.ac.il/~alexf |
> |_____________________|______________________________________|


Try using the ctrlbar class and  resising the controls with the WS_SIZE
msg -> MoveWindow()



Scot -- Scot@STINGSOFT.COM
Monday, March 24, 1997


Implementing Visual Studio like docking windows (complete with
splitters, thumbs, etc..) will take you about a month.

We've done this for you in our Objective Toolkit (this is only one of
about 50 things it does).  

Take a look at the VIZ sample in http://www.stingsoft.com

I think the direct URL is
ftp://ftp.stingsoft.com/pub/stingray/secdemos/viz.zip  this demo doesn't
show off our 5.0 release which looks EXACTLY like VC++ 5.0 - the 5.0
demo will be available before the end of the week.


Scot
Stingray


>-----Original Message-----
>From:	Ben Burnett [SMTP:benner@supernet.ab.ca]
>Sent:	Saturday, March 22, 1997 5:37 AM
>To:	mfc-l@netcom.com
>Subject:	Re: Dialog Bar usage
>
>Alex Fok wrote:
>> 
>> Environment: WIN95, VC++ 4.0.
>> 
>> Hi, folks!
>> I have a stupid problem with Dialog Bar windows' behavior.
>> I want to equip my application with windows, that will behavior exactly
>> like MS Developer Studio Watch, Output, Project Workspace..., windows
>> do.
>> Particularly, I want these windows to be Dockable Dialog Bars with
>> esize capability, dynamic option to convert the Dialog Bar to appear
>> like
>> regular child window and so on. I tried to use the CDialogBar class to
>> achieve this functionality, but I failed to resize the dialog bar.
>> Any design or practical ideas will be really appreciated.
>> Thank You in advance.
>> 
>> --
>>  ____________________________________________________________
>> |                     |                                      |
>> | Alexander Fok       | E-mail:  alexp@sharnoa.co.il         |
>> | Software Engineer   | Office:  +972-7-6285058              |
>> |                     |    Fax:  +972-7-6277859              |
>> | Xtrol (Sharnoa)     | Home:    +972-7-6271886              |
>> | Corporation Israel  | WWW : http://www.cs.bgu.ac.il/~alexf |
>> |_____________________|______________________________________|
>
>
>Try using the ctrlbar class and  resising the controls with the WS_SIZE
>msg -> MoveWindow()



B.Irudayaraj -- irudaya@utopia.hclt.com
Wednesday, March 26, 1997


hi ,
  Get the following file and try it.

	 http://www2.vertexgroup.com/mfc-l/mrcext4.zip.
I hope it will answer your questions.

Bye,
irudaya.


----------
> From: Alex Fok 
> To: mfc-l list 
> Subject: Dialog Bar usage
> Date: Tuesday, March 18, 1997 6:23 PM
> 
> Environment: WIN95, VC++ 4.0.
> 
> Hi, folks!
> I have a stupid problem with Dialog Bar windows' behavior.
> I want to equip my application with windows, that will behavior exactly 
> like MS Developer Studio Watch, Output, Project Workspace..., windows
> do.
> Particularly, I want these windows to be Dockable Dialog Bars with
> esize capability, dynamic option to convert the Dialog Bar to appear
> like
> regular child window and so on. I tried to use the CDialogBar class to
> achieve this functionality, but I failed to resize the dialog bar.
> Any design or practical ideas will be really appreciated.
> Thank You in advance.
> 
> -- 
>  ____________________________________________________________
> |                     |                                      |
> | Alexander Fok       | E-mail:  alexp@sharnoa.co.il         |
> | Software Engineer   | Office:  +972-7-6285058              |
> |                     |    Fax:  +972-7-6277859              |
> | Xtrol (Sharnoa)     | Home:    +972-7-6271886              |
> | Corporation Israel  | WWW : http://www.cs.bgu.ac.il/~alexf |
> |_____________________|______________________________________|




Become an MFC-L member | Вернуться в корень Архива |