Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.08.28;
Скачать: CL | DM;

Вниз

ShellAbout()   Найти похожие ветки 

 
unregister_256   (2005-07-14 08:24) [0]

Как правильно использовать эту функцию... на сколько я понял это функция выводит стадартный виновский Абут


 
Fay ©   (2005-07-14 08:34) [1]

ShellAbout

Displays a ShellAbout dialog box.

int ShellAbout (
  HWND hWnd,
  LPCTSTR szApp,
  LPCTSTR szOtherStuff,
  HICON hIcon
);

Parameters
hWnd
[in] Window handle to a parent window. This parameter can be NULL.
szApp
[in] Pointer to a null-terminated string containing text that will be displayed in the title bar of the ShellAbout dialog box and on the first line of the dialog box after the text "Microsoft". If the text contains a separator (#) dividing it into two parts, the function displays the first part in the title bar and the second part on the first line after the text "Microsoft".
szOtherStuff
[in] Pointer to a null-terminated string containing text that will be displayed in the dialog box after the version and copyright information.
hIcon
[in] Icon that the function displays in the dialog box. If this parameter is NULL, the function displays the Microsoft® Windows® or Windows NT® icon.
Return Values
Returns TRUE if successful, or FALSE otherwise.

Remarks

Note that the ShellAbout function dialog box uses text and a default icon that are specific to either Windows or Windows NT.

To see an example of a ShellAbout dialog box, choose About Windows from the Help menu drop-down list in Windows Explorer.

Windows 95/98/Me: ShellAbout is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems.

Requirements
 Windows NT/2000: Requires Windows NT 3.5 or later.
 Windows 95/98/Me: Requires Windows 95 or later.
 Header: Declared in Shellapi.h.
 Import Library: Shell32.lib.


 
Digitman ©   (2005-07-14 08:36) [2]


> Как правильно


сначала расскажи-покажи, что у тебя "неправильно" получается при использовании этой ф-ции


 
unregister_256   (2005-07-14 08:36) [3]

вот садист :)
не мог просто пример привести?


 
Digitman ©   (2005-07-14 08:44) [4]


> не мог просто пример привести?


а ты разве не мог самостоятельно прочитать это в справке  ?


 
unregister_256   (2005-07-14 08:46) [5]

там не понятно


 
unregister_256   (2005-07-14 09:12) [6]

вам что сказать жалко чтоли?


 
Fay ©   (2005-07-14 09:25) [7]

2 unregister_256   (14.07.05 8:46) [5][Ответить]
Так нормально?
procedure TForm1.Button1Click(Sender: TObject);
begin
 ShellAbout(Handle, "шышел-мышел", "е-моё", Application.Icon.Handle)
end;


 
Poirot ©   (2005-07-14 14:09) [8]

unregister_256   (14.07.05 08:46) [5]
Недостаточно написано?! Или англицкий не по душе?!
А в MSDN не смотрел?!



Страницы: 1 вся ветка

Текущий архив: 2005.08.28;
Скачать: CL | DM;

Наверх




Память: 0.48 MB
Время: 0.036 c
1-1122542200
HmG
2005-07-28 13:16
2005.08.28
Установка пакета


3-1121245570
WondeRu
2005-07-13 13:06
2005.08.28
Трудности перевода 2. BDE->ADO


14-1122974932
Ajax
2005-08-02 13:28
2005.08.28
beat detection algorithms


3-1121407660
Леха
2005-07-15 10:07
2005.08.28
Запрос на выборку похожих записей.


3-1121418159
vigo
2005-07-15 13:02
2005.08.28
Подключение к Oracle