Removed unnecessary declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,51 +39,30 @@ inline BOOL IsIconic( HWND WXUNUSED(hWnd) )
|
|||||||
#define TBSTYLE_NO_DROPDOWN_ARROW 0x0080
|
#define TBSTYLE_NO_DROPDOWN_ARROW 0x0080
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if _WIN32_WCE >= 400 && !defined(SHCMBM_GETMENU)
|
#ifndef SHCMBM_GETMENU
|
||||||
|
|
||||||
// aygshell.h missing from eVC 4 for some reason
|
|
||||||
// NB not missing from Pocket PC 2003, hence the test for SHCMBM_GETMENU
|
|
||||||
|
|
||||||
#define SHCMBM_GETMENU (WM_USER + 402)
|
#define SHCMBM_GETMENU (WM_USER + 402)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SHCMBM_SETSUBMENU
|
||||||
#define SHCMBM_SETSUBMENU (WM_USER + 400) // wparam == id of button, lParam == hmenu, return is old hmenu
|
#define SHCMBM_SETSUBMENU (WM_USER + 400) // wparam == id of button, lParam == hmenu, return is old hmenu
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SHCMBM_GETSUBMENU
|
||||||
#define SHCMBM_GETSUBMENU (WM_USER + 401) // lParam == ID
|
#define SHCMBM_GETSUBMENU (WM_USER + 401) // lParam == ID
|
||||||
#define SHCMBM_GETMENU (WM_USER + 402) // get the owning hmenu (as specified in the load resource)
|
#endif
|
||||||
|
|
||||||
#define SHIDIF_DONEBUTTON 0x0001
|
#ifndef LVS_EX_FULLROWSELECT
|
||||||
#define SHIDIF_SIZEDLG 0x0002
|
#define LVS_EX_FULLROWSELECT 0x00000020
|
||||||
#define SHIDIF_SIZEDLGFULLSCREEN 0x0004
|
#endif
|
||||||
#define SHIDIF_SIPDOWN 0x0008
|
|
||||||
#define SHIDIF_FULLSCREENNOMENUBAR 0x0010
|
|
||||||
#define SHIDIF_EMPTYMENU 0x0020
|
|
||||||
|
|
||||||
#define SHFS_SHOWTASKBAR 0x0001
|
#ifndef TVS_FULLROWSELECT
|
||||||
#define SHFS_HIDETASKBAR 0x0002
|
#define TVS_FULLROWSELECT 0x1000
|
||||||
#define SHFS_SHOWSIPBUTTON 0x0004
|
#endif
|
||||||
#define SHFS_HIDESIPBUTTON 0x0008
|
|
||||||
#define SHFS_SHOWSTARTICON 0x0010
|
|
||||||
#define SHFS_HIDESTARTICON 0x0020
|
|
||||||
|
|
||||||
typedef struct tagSHMENUBARINFO
|
#ifndef TVM_SETBKCOLOR
|
||||||
{
|
#define TVM_SETBKCOLOR (TV_FIRST + 29)
|
||||||
DWORD cbSize; // IN - Indicates which members of struct are valid
|
#define TVM_SETTEXTCOLOR (TV_FIRST + 30)
|
||||||
HWND hwndParent; // IN
|
#endif
|
||||||
DWORD dwFlags; // IN - Some features we want
|
|
||||||
UINT nToolBarId; // IN - Which toolbar are we using
|
|
||||||
HINSTANCE hInstRes; // IN - Instance that owns the resources
|
|
||||||
int nBmpId;
|
|
||||||
int cBmpImages; // IN - Count of bitmap images
|
|
||||||
HWND hwndMB; // OUT
|
|
||||||
COLORREF clrBk; // IN - background color of the menu bar (excluding sip)
|
|
||||||
} SHMENUBARINFO, *PSHMENUBARINFO;
|
|
||||||
|
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
BOOL SHFullScreen(HWND hwndRequester, DWORD dwState);
|
|
||||||
|
|
||||||
WINSHELLAPI BOOL SHCreateMenuBar(SHMENUBARINFO *pmbi);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // _WIN32_WCE >= 400
|
|
||||||
|
|
||||||
// Used in msgdlg.cpp, evtloop.cpp
|
// Used in msgdlg.cpp, evtloop.cpp
|
||||||
#ifndef MB_TASKMODAL
|
#ifndef MB_TASKMODAL
|
||||||
|
Reference in New Issue
Block a user