Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2005.08.28;
Скачать: [xml.tar.bz2];

Вниз

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 вся ветка

Форум: "WinAPI";
Текущий архив: 2005.08.28;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.46 MB
Время: 0.046 c
1-1123585207
kyn66
2005-08-09 15:00
2005.08.28
Контроль видимости левого столбца Грида


14-1122630027
ANB
2005-07-29 13:40
2005.08.28
История России и Украины.


4-1120635877
Хинт
2005-07-06 11:44
2005.08.28
Эмуляция выбора пункта меню в чужом приложении


14-1122969123
Суслик
2005-08-02 11:52
2005.08.28
Няня


14-1123326323
Джо
2005-08-06 15:05
2005.08.28
Осторожно, Акунин :)





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский