From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: How about adding a new frame parameter: "parent frame"? Date: Tue, 27 May 2008 20:36:10 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8BFF6.8C82C382" X-Trace: ger.gmane.org 1211912133 5029 80.91.229.12 (27 May 2008 18:15:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2008 18:15:33 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 27 20:16:13 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K13iW-0007wN-Nz for ged-emacs-devel@m.gmane.org; Tue, 27 May 2008 20:16:13 +0200 Original-Received: from localhost ([127.0.0.1]:37491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K13hl-0006d0-7w for ged-emacs-devel@m.gmane.org; Tue, 27 May 2008 14:15:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0yS1-0005Rc-Qx for emacs-devel@gnu.org; Tue, 27 May 2008 08:38:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0yRw-0005Li-7L for emacs-devel@gnu.org; Tue, 27 May 2008 08:38:49 -0400 Original-Received: from [199.232.76.173] (port=48489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0yRw-0005Ld-3B for emacs-devel@gnu.org; Tue, 27 May 2008 08:38:44 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:17856) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0yRv-0000eg-SH for emacs-devel@gnu.org; Tue, 27 May 2008 08:38:44 -0400 Original-Received: from email.gdnt.com.cn ([202.104.30.38]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0yRn-00021a-Ro for emacs-devel@gnu.org; Tue, 27 May 2008 08:38:39 -0400 Original-Received: from sd-ef-01.cnshn.gdnt.local ([202.38.41.132]) by email.gdnt.com.cn with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 May 2008 20:38:25 +0800 Original-Received: from sd-ex-02.cnshn.gdnt.local ([202.38.38.7]) by sd-ef-01.cnshn.gdnt.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 May 2008 20:38:21 +0800 Original-Received: from RND-MX01.rnd.gdnt.local ([202.38.32.248]) by sd-ex-02.cnshn.gdnt.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 27 May 2008 20:38:22 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How about adding a new frame parameter: "parent frame"? Thread-Index: Aci/9j4H9Bzj3e7BQxqv2SjeKVTE2g== X-OriginalArrivalTime: 27 May 2008 12:38:22.0850 (UTC) FILETIME=[8CFFE620:01C8BFF6] X-TM-AS-Product-Ver: SMEX-7.0.0.1345-3.6.1039-15232.002 X-TM-AS-Result: No--7.667800-8.000000-31 X-detected-kernel: by mx20.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Tue, 27 May 2008 14:14:25 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97817 Archived-At: This is a multi-part message in MIME format. ------_=_NextPart_001_01C8BFF6.8C82C382 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable How about adding a new frame parameter: "parent-frame"? =20 Then we can create a new frame whose parent frame (e.g., hWndParent) is current frame, and the new created frame always shows in front of its parent frame even we focus on its parent frame. Then the new created frame is like a Dialoge window opened from its parent frame.=20 =20 I think it will be quite useful. e.g., when we are doing a "ediff", it will be nice the the "ediff" frame always show in front of the "comparing" frame. When we click on the comparing frame, the "ediff" frame will never be hidden by the "comparing" frame. And so we can easily access the "ediff" frame again without having to find it back from the task bar. =20 We can also use this mechanism to utilize a frame as a dialoge, to provide a complicated text-based (with image) dialoge window. It will be cool when a command need a very complicated input from the user. =20 Regards, Brian ------_=_NextPart_001_01C8BFF6.8C82C382 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
How about adding a new frame = parameter: "parent-frame"?
 
Then we can create a=20 new frame whose parent frame (e.g., hWndParent) is current frame, and = the new=20 created frame always shows in front of its parent frame even we focus on = its=20 parent frame. Then the new created frame is like a Dialoge window opened = from=20 its parent frame.
 
I think it will be=20 quite useful. e.g., when we are doing a "ediff", it will be nice the the = "ediff"=20 frame always show in front of the "comparing" frame. When we click on = the=20 comparing frame, the "ediff" frame will never be hidden by the = "comparing"=20 frame. And so we can easily access the "ediff" frame again without = having to=20 find it back from the task bar.
 
We can also use this=20 mechanism to utilize a frame as a dialoge, to provide a complicated = text-based=20 (with image) dialoge window. It will be cool when a command need a = very=20 complicated input from the user.
 
Regards,
Brian
------_=_NextPart_001_01C8BFF6.8C82C382--