Commit cfa89e7e authored by Jay Yang's avatar Jay Yang Committed by Alexandre Julliard

explorer: Add a path combobox to explorer.

parent 9544bcd1
......@@ -8089,6 +8089,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "معلومات"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8266,6 +8266,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "&Разгледай"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "LAN връзка"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8012,6 +8012,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
msgid "Location:"
msgstr ""
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8645,6 +8645,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "P&rozkoumat"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Volby"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8669,6 +8669,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Placering"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8658,6 +8658,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Ort"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8136,6 +8136,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Επιλογές"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8313,6 +8313,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Location"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8405,6 +8405,11 @@ msgstr "Usage: dxdiag [/whql:off | /whql:on] [/t filename | /x filename]"
msgid "Wine Explorer"
msgstr "Wine Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Location"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr "Usage: hostname\n"
......
......@@ -8257,6 +8257,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "E&sploru"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "LAN Interkonekto"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8847,6 +8847,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Internet Explorer de Wine"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Ubicación"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8091,6 +8091,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "اطلاعات"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8338,6 +8338,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "&Selaa"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Sijainti"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8486,6 +8486,11 @@ msgstr "Usage : dxdiag [/whql:off | /whql:on] [/t fichier | /x fichier]"
msgid "Wine Explorer"
msgstr "Explorateur de Wine"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Emplacement"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr "Usage : hostname\n"
......
......@@ -8507,6 +8507,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "מיקום"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8009,6 +8009,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
msgid "Location:"
msgstr ""
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8532,6 +8532,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Hely"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8752,6 +8752,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Internet Explorer di Wine"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Locazione"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8402,6 +8402,11 @@ msgstr "使い方: dxdiag [/whql:off | /whql:on] [/t ファイル名 | /x ファ
msgid "Wine Explorer"
msgstr "Wine エクスプローラ"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "場所"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr "使い方: hostname\n"
......
......@@ -8374,6 +8374,11 @@ msgstr "사용법: dxdiag [/whql:off | /whql:on] [/t 파일이름 | /x 파일이
msgid "Wine Explorer"
msgstr "Wine 탐색기"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "랜 연결"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr "사용법:hostname\n"
......
......@@ -8420,6 +8420,11 @@ msgstr "Naudojimas: dxdiag [/whql:off | /whql:on] [/t failas | /x failas]"
msgid "Wine Explorer"
msgstr "Wine naršyklė"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Vieta"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr "Naudojimas: hostname\n"
......
......@@ -8009,6 +8009,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
msgid "Location:"
msgstr ""
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8674,6 +8674,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Plassering"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8560,6 +8560,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Verkenner"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Locatie"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8009,6 +8009,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
msgid "Location:"
msgstr ""
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8009,6 +8009,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
msgid "Location:"
msgstr ""
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8424,6 +8424,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Położenie"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8699,6 +8699,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Localização"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8752,6 +8752,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Explorador de Internet Wine"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Localização"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8060,6 +8060,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine ag�d"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "&Options"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8985,6 +8985,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Locație"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8415,6 +8415,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Размещение"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr "Использование: hostname\n"
......
......@@ -8293,6 +8293,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "E&xplore"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Informácie"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -2984,8 +2984,7 @@ msgstr "Preveč modulov\n"
#: winerror.mc:851
msgid "Nesting LoadModule calls not allowed\n"
msgstr ""
"Klici gnezdenega modula nalaganja niso dovoljeni\n"
msgstr "Klici gnezdenega modula nalaganja niso dovoljeni\n"
#: winerror.mc:856
msgid "Machine type mismatch\n"
......@@ -3061,8 +3060,7 @@ msgstr "Klicatelj ne sme biti lastnik mutexa\n"
#: winerror.mc:946
msgid "Too many posts to semaphore\n"
msgstr ""
"Preveč objav na semaforju\n"
msgstr "Preveč objav na semaforju\n"
#: winerror.mc:951
msgid "Read/WriteProcessMemory partially completed\n"
......@@ -5058,18 +5056,15 @@ msgstr "Ni več vezav\n"
#: winerror.mc:3446
msgid "Can't logon with interdomain trust account\n"
msgstr ""
"Ni se mogoče prijaviti z računom meddomenskega zaupanja\n"
msgstr "Ni se mogoče prijaviti z računom meddomenskega zaupanja\n"
#: winerror.mc:3451
msgid "Can't logon with workstation trust account\n"
msgstr ""
"Ni se mogoče prijaviti z računom zaupanja delovne postaja\n"
msgstr "Ni se mogoče prijaviti z računom zaupanja delovne postaja\n"
#: winerror.mc:3456
msgid "Can't logon with server trust account\n"
msgstr ""
"Ni se mogoče prijaviti z računom zaupanja strežnika\n"
msgstr "Ni se mogoče prijaviti z računom zaupanja strežnika\n"
#: winerror.mc:3461
msgid "Domain trust information inconsistent\n"
......@@ -8449,6 +8444,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Mesto"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8399,6 +8399,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Локација"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8453,6 +8453,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Lokacija"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8422,6 +8422,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Plats"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8009,6 +8009,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
msgid "Location:"
msgstr ""
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8145,6 +8145,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "รายละเอียด"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8793,6 +8793,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "A&raştır"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "LAN Bağlantısı"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8401,6 +8401,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Оглядач Інтернету Wine"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Розміщення"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr "Використання: ім'я_хосту\n"
......
......@@ -8109,6 +8109,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "E&xplore"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "Informåcion"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -7985,6 +7985,10 @@ msgstr ""
msgid "Wine Explorer"
msgstr ""
#: explorer.rc:29
msgid "Location:"
msgstr ""
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8386,6 +8386,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "位置"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -8441,6 +8441,11 @@ msgstr ""
msgid "Wine Explorer"
msgstr "Wine Internet Explorer"
#: explorer.rc:29
#, fuzzy
msgid "Location:"
msgstr "區域網路連線"
#: hostname.rc:27
msgid "Usage: hostname\n"
msgstr ""
......
......@@ -39,12 +39,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(explorer);
#define EXPLORER_INFO_INDEX 0
#define NAV_TOOLBAR_HEIGHT 30
#define PATHBOX_HEIGHT 24
#define DEFAULT_WIDTH 640
#define DEFAULT_HEIGHT 480
static const WCHAR EXPLORER_CLASS[] = {'W','I','N','E','_','E','X','P','L','O','R','E','R','\0'};
static const WCHAR PATH_BOX_NAME[] = {'\0'};
HINSTANCE explorer_hInstance;
......@@ -57,8 +59,9 @@ typedef struct parametersTAG {
typedef struct
{
IExplorerBrowser *browser;
HWND main_window;
HWND main_window,path_box;
INT rebar_height;
LPCITEMIDLIST pidl;
} explorer_info;
enum
......@@ -66,14 +69,100 @@ enum
BACK_BUTTON,FORWARD_BUTTON,UP_BUTTON
};
typedef struct
{
IExplorerBrowserEvents IExplorerBrowserEvents_iface;
explorer_info* info;
LONG ref;
} IExplorerBrowserEventsImpl;
static IExplorerBrowserEventsImpl *impl_from_IExplorerBrowserEvents(IExplorerBrowserEvents *iface)
{
return CONTAINING_RECORD(iface, IExplorerBrowserEventsImpl, IExplorerBrowserEvents_iface);
}
static HRESULT WINAPI IExplorerBrowserEventsImpl_fnQueryInterface(IExplorerBrowserEvents *iface, REFIID riid, void **ppvObject)
{
return E_NOINTERFACE;
}
static ULONG WINAPI IExplorerBrowserEventsImpl_fnAddRef(IExplorerBrowserEvents *iface)
{
IExplorerBrowserEventsImpl *This = impl_from_IExplorerBrowserEvents(iface);
return InterlockedIncrement(&This->ref);
}
static ULONG WINAPI IExplorerBrowserEventsImpl_fnRelease(IExplorerBrowserEvents *iface)
{
IExplorerBrowserEventsImpl *This = impl_from_IExplorerBrowserEvents(iface);
ULONG ref = InterlockedDecrement(&This->ref);
if(!ref)
HeapFree(GetProcessHeap(),0,This);
return ref;
}
static void update_path_box(explorer_info *info)
{
WCHAR path[MAX_PATH];
SHGetPathFromIDListW(info->pidl,path);
SetWindowTextW(info->path_box,path);
}
static HRESULT WINAPI IExplorerBrowserEventsImpl_fnOnNavigationComplete(IExplorerBrowserEvents *iface, PCIDLIST_ABSOLUTE pidl)
{
IExplorerBrowserEventsImpl *This = impl_from_IExplorerBrowserEvents(iface);
This->info->pidl = pidl;
update_path_box(This->info);
return S_OK;
}
static HRESULT WINAPI IExplorerBrowserEventsImpl_fnOnNavigationFailed(IExplorerBrowserEvents *iface, PCIDLIST_ABSOLUTE pidl)
{
return S_OK;
}
static HRESULT WINAPI IExplorerBrowserEventsImpl_fnOnNavigationPending(IExplorerBrowserEvents *iface, PCIDLIST_ABSOLUTE pidl)
{
return S_OK;
}
static HRESULT WINAPI IExplorerBrowserEventsImpl_fnOnViewCreated(IExplorerBrowserEvents *iface, IShellView *psv)
{
return S_OK;
}
static IExplorerBrowserEventsVtbl vt_IExplorerBrowserEvents =
{
IExplorerBrowserEventsImpl_fnQueryInterface,
IExplorerBrowserEventsImpl_fnAddRef,
IExplorerBrowserEventsImpl_fnRelease,
IExplorerBrowserEventsImpl_fnOnNavigationPending,
IExplorerBrowserEventsImpl_fnOnViewCreated,
IExplorerBrowserEventsImpl_fnOnNavigationComplete,
IExplorerBrowserEventsImpl_fnOnNavigationFailed
};
static IExplorerBrowserEvents *make_explorer_events(explorer_info *info)
{
IExplorerBrowserEventsImpl *ret
= HeapAlloc(GetProcessHeap(), 0, sizeof(IExplorerBrowserEventsImpl));
ret->IExplorerBrowserEvents_iface.lpVtbl = &vt_IExplorerBrowserEvents;
ret->info = info;
IExplorerBrowserEvents_AddRef(&ret->IExplorerBrowserEvents_iface);
return &ret->IExplorerBrowserEvents_iface;
}
static void make_explorer_window(IShellFolder* startFolder)
{
RECT explorerRect;
HWND rebar,nav_toolbar;
FOLDERSETTINGS fs;
IExplorerBrowserEvents *events;
explorer_info *info;
HRESULT hres;
DWORD cookie;
WCHAR explorer_title[100];
WCHAR pathbox_label[50];
TBADDBITMAP bitmap_info;
TBBUTTON nav_buttons[3];
int hist_offset,view_offset;
......@@ -81,6 +170,8 @@ static void make_explorer_window(IShellFolder* startFolder)
memset(nav_buttons,0,sizeof(nav_buttons));
LoadStringW(explorer_hInstance,IDS_EXPLORER_TITLE,explorer_title,
sizeof(explorer_title)/sizeof(WCHAR));
LoadStringW(explorer_hInstance,IDS_PATHBOX_LABEL,pathbox_label,
sizeof(pathbox_label)/sizeof(WCHAR));
info = HeapAlloc(GetProcessHeap(),0,sizeof(explorer_info));
if(!info)
{
......@@ -151,10 +242,26 @@ static void make_explorer_window(IShellFolder* startFolder)
band_info.cyMinChild=NAV_TOOLBAR_HEIGHT;
band_info.cxMinChild=0;
SendMessageW(rebar,RB_INSERTBANDW,-1,(LPARAM)&band_info);
info->path_box = CreateWindowW(WC_COMBOBOXEXW,PATH_BOX_NAME,
WS_CHILD | WS_VISIBLE | CBS_DROPDOWN,
0,0,DEFAULT_WIDTH,PATHBOX_HEIGHT,rebar,NULL,
explorer_hInstance,NULL);
band_info.cyChild=PATHBOX_HEIGHT;
band_info.cx=0;
band_info.cyMinChild=PATHBOX_HEIGHT;
band_info.cxMinChild=0;
band_info.fMask|=RBBIM_TEXT;
band_info.lpText=pathbox_label;
band_info.fStyle|=RBBS_BREAK;
band_info.hwndChild=info->path_box;
SendMessageW(rebar,RB_INSERTBANDW,-1,(LPARAM)&band_info);
events = make_explorer_events(info);
IExplorerBrowser_Advise(info->browser,events,&cookie);
IExplorerBrowser_BrowseToObject(info->browser,(IUnknown*)startFolder,
SBSP_ABSOLUTE);
ShowWindow(info->main_window,SW_SHOWDEFAULT);
UpdateWindow(info->main_window);
IExplorerBrowserEvents_Release(events);
}
static void update_window_size(explorer_info *info, int height, int width)
......@@ -173,6 +280,37 @@ static void do_exit(int code)
ExitProcess(code);
}
static LRESULT explorer_on_end_edit(explorer_info *info,NMCBEENDEDITW *edit_info)
{
LPITEMIDLIST pidl = NULL;
WINE_TRACE("iWhy=%x\n",edit_info->iWhy);
switch(edit_info->iWhy)
{
case CBENF_RETURN:
{
WCHAR path[MAX_PATH];
HWND edit_ctrl = (HWND)SendMessageW(edit_info->hdr.hwndFrom,
CBEM_GETEDITCONTROL,0,0);
*((WORD*)path)=MAX_PATH;
SendMessageW(edit_ctrl,EM_GETLINE,0,(LPARAM)path);
pidl = ILCreateFromPathW(path);
break;
}
case CBENF_ESCAPE:
/*make sure the that the path box resets*/
update_path_box(info);
return 0;
default:
return 0;
}
if(pidl)
IExplorerBrowser_BrowseToIDList(info->browser,pidl,SBSP_ABSOLUTE);
if(edit_info->iWhy==CBENF_RETURN)
ILFree(pidl);
return 0;
}
static LRESULT update_rebar_size(explorer_info* info,NMRBAUTOSIZE *size_info)
{
RECT new_rect;
......@@ -192,6 +330,8 @@ static LRESULT explorer_on_notify(explorer_info* info,NMHDR* notification)
WINE_TRACE("code=%i\n",notification->code);
switch(notification->code)
{
case CBEN_ENDEDITW:
return explorer_on_end_edit(info,(NMCBEENDEDITW*)notification);
case RBN_AUTOSIZE:
return update_rebar_size(info,(NMRBAUTOSIZE*)notification);
default:
......@@ -425,7 +565,7 @@ int WINAPI wWinMain(HINSTANCE hinstance,
ExitProcess(EXIT_FAILURE);
}
init_info.dwSize = sizeof(INITCOMMONCONTROLSEX);
init_info.dwICC = ICC_BAR_CLASSES | ICC_COOL_CLASSES;
init_info.dwICC = ICC_USEREX_CLASSES | ICC_BAR_CLASSES | ICC_COOL_CLASSES;
if(!InitCommonControlsEx(&init_info))
{
WINE_ERR("Could not initialize Comctl\n");
......
......@@ -25,5 +25,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
{
IDS_EXPLORER_TITLE "Wine Explorer"
IDS_EXPLORER_TITLE "Wine Explorer"
IDS_PATHBOX_LABEL "Location:"
}
......@@ -22,5 +22,6 @@
#define __WINE_EXPLORER_RESOURCE_H
#define IDS_EXPLORER_TITLE 1
#define IDS_PATHBOX_LABEL 2
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment