알짜게시판

[Delphi] 윈도우 알림센터에 메시지 출력하기

uses 에 System.Notification 을 추가합니다.

[code] procedure SetNotification(Content: String); var   NotifiCenter: TNotificationCenter;   Notification: TNotification; begin   NotifiCenter := TNotificationCenter.Create(nil);   Notification := NotifiCenter.CreateNotification;   try     Notification.Name := Application.Title;     Notification.Title := Application.MainForm.Caption;     Notification.AlertBody := Content;     NotifiCenter.PresentNotification(Notification);   finally     Notification.Free;     NotifiCenter.Free;   end; end; SetNotification('알람알람!!!'); [/code]

로그인 후 댓글내용을 입력해주세요

번호 제목 글쓴이 조회 날짜
218 [칼무리] 영역화면 크기 오류인 경우 121,970 12-12
217 [MySQL] 업데이트 이후 에러 발생([ERROR] Incorrect definition of table … 91,637 12-08
216 구글 크롬 탭검색 비활성화 72,522 12-04
215 [MySQL] MySQL, MariaDB 업데이트 73,674 11-24
214 [아이폰] HTTPS 감청 우회하기 299,312 11-01
213 Windows에 Rust 설치하기 57,587 10-05
212 HTTPS/DNS 차단 쉽게 이해하기 84,796 08-16
211 ChangeDNS - DNS 서버를 손쉽게 변경합니다. 86,651 08-13
210 [ReactNative] android directory was detected in the project. 65,552 07-20
209 [리눅스] 메일(Mail) 삭제/초기화 58,409 07-18
열람 [Delphi] 윈도우 알림센터에 메시지 출력하기 55,655 06-20
207 [그누보드] 사이드바 만들기 105,796 05-04
206 텔레그램 봇 (Telegram Bot) 만들기 38,279 05-03
205 [부트스트랩] nav 에서 하위 항목 활성화 시 부모 항목 활성화 35,047 04-30
204 [리눅스] PHP 버전 추가하기 34,767 04-29
203 [PHP] Curl 접속 속도가 늦은 경우 36,773 04-10
202 [윈도우] 파일 내용 검색 45,882 02-09
201 [MySQL] unblock with 'mysqladmin flush-hosts' 에러 53,875 01-01
200 [ReactNative] 캐시 초기화 하는 방법 57,535 12-27
199 killer 네트워크 이슈 팁 1 65,107 12-04
198 [윈도우] node.js 와 npm 업데이트(업그레이드) 57,574 12-01
197 [윈도우] 윈도우11 시작 메뉴 위치 변경(가운데, 왼쪽) 60,623 10-10
196 [Delphi] 중복 실행 방지 59,068 09-21
195 [리눅스] yum 에서 Thread died in Berkeley DB library 오류 59,221 09-18
194 [리눅스] VNSTAT 설치하기 56,227 09-17
193 [리눅스] 로그 삭제 및 비우기(?) 58,302 09-09
192 [Delphi] 파일 포맷 알아내기 51,424 09-08
191 [FTP] 500 Illegal PORT command. 47,571 09-03
190 [리눅스] .htaccess 를 이용해서 https 이동하기 45,452 08-31
189 [PHP] Imagek 를 이용한 썸네일 생성 45,847 08-26
188 [PHP] 파일 포맷 알아내기 45,606 08-23