[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
Re: [MD:2738] w32-send-sys-command
- X-ml-count: 4578
- Subject: Re: [MD:2738] w32-send-sys-command
- From: MIYOSHI Masanori <miyoshi@xxxxxxxxxxxxxxxx>
- Date: Mon, 25 Aug 2003 22:56:36 +0900
- User-agent: Wanderlust/2.11.9 (Wonderwall) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.7 (Fujiidera) APEL/10.5 Emacs/21.1 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/2.00 Beta2-dev (WOMINAHESHI)
1>>>>> [meadow-develop : No.2738] にて
>>>>> "himi" = MIYASHITA Hisashi(宮下 尚:HIMI) <himi@xxxxxxxxxxx> さんは書きました:
himi> ふむ、こういうのどうでしょう?
himi> (w32-access-windows-intrinsic-facility
himi> <CATEGORY> <CATEGORY-DEPENDENT-ARGS>...)
himi> This function is internal use only. Don't call it directly.
himi> When CATEGORY is 'wm-syscommand, you can choose
himi> SC-KEYMENU,
himi> SC-MONITORPOWER,
himi> SC-TASKLIST...
himi> as <CATEGORY-DEPENDENT-ARG>
himi> で、w32-activate-menubarは、Emacs Lisp Functionにすると。
以下の方針で実装しようと思うのですが、どうでしょうか?
特に、関数名や引数についてご意見ください。
(1) primitive function (@mw32fns.c)
(w32-access-windows-intrinsic-facility
category category-dependent-args &optional optional-args frame)
"This function is internal use only. Don't call it directly.\n\
\n\
When CATEGORY is WM-SYSCOMMAND, you can choose\n\
SC-KEYMENU,\n\
SC-MONITORPOWER,\n\
SC-TASKLIST,\n\
SC-MAXIMIZE,\n\
SC-RESTORE,\n\
as <CATEGORY-DEPENDENT-ARG>."
(2) elisp function (@meadow.el)
(w32-activate-menu-bar &optional frame)
"Activate the menu bar in the frame FRAME.
If FRAME is omitted, the selected frame is used."
(w32-activate-start-menu)
"Activate the start menu."
(w32-set-monitor-state state)
"Sets the state of the monitor.
STATE can have the following values:
low-power: the monitor is going to low power.
shut-off: the monitor is being shut off."
(w32-maximize-frame &optional frame)
"Maximize the frame FRAME.
If FRAME is omitted, the selected frame is used."
(w32-restore-frame &optional frame)
"Restore the maximized frame FRAME.
If FRAME is omitted, the selected frame is used."
--
三好 雅則 mailto:miyoshi@xxxxxxxxxxxxxxxx
http://www.boreas.dti.ne.jp/~miyoshi/ (Meadow2 のページ始めました)