![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
wm_geticon
Core Thousand © (2007-06-02 19:20:00)как ответить на wm_geticon?
G_M_S (2007-06-12 09:55:00) [1]
> как ответить на wm_geticon?
Послать... Однозначно! :)))
Серьезно: зачем тебе его обрабатывать? Иконку форме можно и так присвоить и она все сама за тебя обработает.
Elena_gp (2007-06-11 23:40:00) [2]Удалено модератором
DVM (2007-06-02 20:43:00) [3]
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
private
{ Private declarations }
procedure WMGETIcon(var Message: TMessage); message WM_GETICON;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.WMGETIcon(var Message: TMessage);
begin
Message.Result := ...;
end;
end.
Однокамушкин (2007-06-02 19:58:00) [4]В msdn написано:
> When an application receives this message, it can return
> a handle to a large or small icon, or pass the message to
> DefWindowProc.
что именно здесь непонятно?