Displaying 2 results from an estimated 2 matches for "image_icon".
2009 Apr 03
3
No icons in my app
How programs looks executed on WINE (Ubuntu 8.10):
http://i41.tinypic.com/2nsnvxh.jpg
And on WinXP SP3:
http://i39.tinypic.com/6fm6o7.jpg
Note there's also no text on StatusBar.
Icons are loaded from resources with LoadImage(GetModuleHandle(0), 1, IMAGE_ICON, 0,0,0)).
Any ideas?
Thanks in advance.
2010 May 15
2
Wineboot: useless dialog
...t.c):
Code:
static INT_PTR CALLBACK wait_dlgproc( HWND hwnd, UINT msg, WPARAM wp, LPARAM lp )
{
switch (msg)
{
case WM_INITDIALOG:
{
WCHAR *buffer, text[1024];
const WCHAR *name = (WCHAR *)lp;
HICON icon = LoadImageW( 0, (LPCWSTR)IDI_WINLOGO, IMAGE_ICON, 48, 48, LR_SHARED );
SendDlgItemMessageW( hwnd, IDC_WAITICON, STM_SETICON, (WPARAM)icon, 0 );
SendDlgItemMessageW( hwnd, IDC_WAITTEXT, WM_GETTEXT, 1024, (LPARAM)text );
buffer = HeapAlloc( GetProcessHeap(), 0, (strlenW(text) + strlenW(name) + 1) * sizeof(WCHAR)...