Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /trunk/ttpmenu/winmisc.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3221 - (show annotations) (download) (as text)
Tue Mar 24 09:37:20 2009 UTC (15 years, 2 months ago) by maya
File MIME type: text/x-chdr
File size: 1774 byte(s)
CVS から SVN へ移行: trunk に集約
1 #ifndef WINMISC_H
2 #define WINMISC_H
3 /* @(#)Copyright (C) NTT-IT 1998-2002 -- winmisc.h -- Ver1.00b2 */
4 /* ========================================================================
5 Project Name : Universal Library
6 Outline : WinMisc function Header
7 Create : 1998-02-20(Wed)
8 Update : 2002-08-13(Tue)
9 Copyright : S.Hayakawa NTT-IT
10 Reference :
11 ======================================================================== */
12 #include <windows.h>
13 #include <tchar.h>
14
15 #include <shlobj.h>
16 #include <shellapi.h>
17
18 #include <stdio.h>
19 #include <time.h>
20 #include "i18n.h"
21
22 // Window Position
23 #define POSITION_LEFTTOP 0x00
24 #define POSITION_LEFTBOTTOM 0x01
25 #define POSITION_RIGHTTOP 0x02
26 #define POSITION_RIGHTBOTTOM 0x03
27 #define POSITION_CENTER 0x04
28 #define POSITION_OUTSIDE 0x05
29
30 // misc
31 void GetTime(TCHAR *cTimeStr);
32 void GetTimeEx(LPTSTR lpszTimeStr);
33 void SetDlgPos(HWND hWnd, int pos);
34 void EncodePassword(TCHAR *cPassword, TCHAR *cEncodePassword);
35 BOOL EnableItem(HWND hWnd, int idControl, BOOL flag);
36 BOOL OpenFileDlg(HWND hWnd, UINT editCtl, TCHAR *title, TCHAR *filter, TCHAR *defaultDir);
37 BOOL SaveFileDlg(HWND hWnd, UINT editCtl, TCHAR *title, TCHAR *filter, TCHAR *defaultDir);
38 BOOL BrowseForFolder(HWND hWnd, TCHAR *szTitle, TCHAR *szPath);
39 BOOL GetModulePath(TCHAR *szPath, DWORD dwMaxPath);
40 BOOL SetForceForegroundWindow(HWND hWnd);
41 UINT GetResourceType(LPCTSTR lpszPath);
42 int CALLBACK BrowseCallbackProc(HWND hWnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
43 TCHAR *PathTok(TCHAR *str, TCHAR *separator);
44 TCHAR *lstrstri(TCHAR *s1, TCHAR *s2);
45 void UTIL_get_lang_msg(PCHAR key, PCHAR buf, int buf_len, PCHAR def, PCHAR iniFile);
46 int UTIL_get_lang_font(PCHAR key, HWND dlg, PLOGFONT logfont, HFONT *font, PCHAR iniFile);
47
48 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26