[Bug 3330] Delete Icon missing from Tollbar

Wine Bugs wine-bugs at winehq.org
Wed Oct 12 20:26:00 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3330


craig at nch.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|20050830                    |20050930




------- Additional Comments From craig at nch.com.au  2005-12-10 20:26 -------
I have done some more testing and have found that STD_DELETE is implemented. We 
are creating the toolbar using
CreateTollbarEx
In windows the bitmaps in the common control library (including STD_DELETE) are 
included. I tried adding these bitmaps explicitly using the code 

	TBADDBITMAP tba;
	tba.hInst = HINST_COMMCTRL;
	tba.nID = IDB_STD_LARGE_COLOR;
	SendMessage(hwndToolBar, TB_ADDBITMAP, 15, (LPARAM)&tba);

I have also trie using CreateWindowEx to create the toolbar. Both tof these 
fail.

If you explicitly add the icons like above, then only those icons display and 
not any custom icons you specify. I also get some other weird behavior (a 
listview not displays a files content for exemple).

If you do not explicity add the common control icons then the custom icons 
appear but the ones like STD_DELETE do not.

I believe the CreateToolBarEx and CreateWindowEx have problems when you add 
resources from another HINSTANCE (common control library).

Could someone check that the CreateTolBarEx should include icons from the 
common control library. Also check processing where you add resouces from 
another dll etc (ie another HINSTANCE), particularly the common control library 
and also from the current application.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list