Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.46 MB
Время: 0.025 c
3-1121438865
_Anton
2005-07-15 18:47
2005.08.28
ODBC и BLOB


6-1116262547
Opryshok
2005-05-16 20:55
2005.08.28
TWebBrowser и *.doc


14-1123156968
Knight
2005-08-04 16:02
2005.08.28
Подскажите алгоритм по которому можно отрисовать...


1-1122542200
HmG
2005-07-28 13:16
2005.08.28
Установка пакета


1-1123423392
Андрей Молчанов
2005-08-07 18:03
2005.08.28
DisposePIDL и окно отладчика




   Наверх