Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Tera Term
Tera Term
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (173)
Help (428)
Help
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[ttssh2]
/
trunk
/
teraterm
/
ttpcmn
/
ttcmn.c
Diff of /trunk/teraterm/ttpcmn/ttcmn.c
Parent Directory
|
Revision Log
|
Patch
revision
6684
by
doda
, Wed Apr 12 09:00:39 2017 UTC
revision
6690
by
doda
, Mon Apr 24 11:49:49 2017 UTC
#
Line 2384
int PASCAL CheckComPort(WORD ComPort)
Line 2384
int PASCAL CheckComPort(WORD ComPort)
2384
// Notify Icon 関連
// Notify Icon 関連
2385
static NOTIFYICONDATA notify_icon = {0};
static NOTIFYICONDATA notify_icon = {0};
2386
static int NotifyIconShowCount = 0;
static int NotifyIconShowCount = 0;
2387
static HICON CustomIcon = NULL;
2388
2389
void FAR PASCAL SetCustomNotifyIcon(HICON icon)
2390
{
2391
CustomIcon = icon;
2392
}
2393
2394
void FAR PASCAL CreateNotifyIcon(PComVar cv)
void FAR PASCAL CreateNotifyIcon(PComVar cv)
2395
{
{
#
Line 2393
void FAR PASCAL CreateNotifyIcon(PComVar
Line 2399
void FAR PASCAL CreateNotifyIcon(PComVar
2399
notify_icon.uID = 1;
notify_icon.uID = 1;
2400
notify_icon.uFlags = NIF_ICON | NIF_MESSAGE;
notify_icon.uFlags = NIF_ICON | NIF_MESSAGE;
2401
notify_icon.uCallbackMessage = WM_USER_NOTIFYICON;
notify_icon.uCallbackMessage = WM_USER_NOTIFYICON;
2402
notify_icon.hIcon = (HICON)SendMessage(cv->HWin, WM_GETICON, ICON_SMALL, 0);
if (CustomIcon) {
2403
notify_icon.hIcon = CustomIcon;
2404
}
2405
else {
2406
notify_icon.hIcon = (HICON)SendMessage(cv->HWin, WM_GETICON, ICON_SMALL, 0);
2407
}
2408
notify_icon.szTip[0] = '\0';
notify_icon.szTip[0] = '\0';
2409
notify_icon.dwState = 0;
notify_icon.dwState = 0;
2410
notify_icon.dwStateMask = 0;
notify_icon.dwStateMask = 0;
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.6684
changed lines
Added in v.6690
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26