| |
|
|
Frank Abbing | I use in two Dialogfenstern apiece a Toolbar. both Toolbars using The same Image List for your Icons. becomes now one Dialog-Window closed (and accordingly too a Toolbar). vanish seltsamerweise too The Icons the others Toolbar, what me prompted To believe, that The Image List at destroy the Toolbar ditto destroy becomes. can you the Change, Roland?
Nachtrag: Have the moreover tested and my Idea shining itself To confirm. The question is now, whether windows The Image List automatically freigibt, or whether Roland the bewirkt. in the first drop ought to it at least a Possibility give, The Image List from the Toolbar uncouple to. I tendiere but sooner to second Possibility (works Toolbars usually at all with Imagelisten? or GetControlParas (B Roland there what circa. anyway one äusserst gelungenes feature!). Please time circa resolution. |
|
|
| |
|
|
|
RGH | one can of/ one Toolbar by Message a ImageList allocate. here the neckline from my code: CompileMarkSeparationParLng := LongInt(CreateToolbarEx(E,Style,TS,99,HINST_COMMCTRL,IDB_VIEW_SMALL_COLOR,
pButtons,Anz,0,0,0,0,SizeOf(TTBButton)));
SendMessage(ParLng,TB_SETIMAGELIST,0,hBMP)re> hBMP is the lever the ImageListe. windows shining The ImageListe with the Toolbar together To destroy. I fürchte, The only Solution is, for each Toolbar a Own ImageListe To use.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 12/23/08 ▲ |
|
|
|
|
Frank Abbing | or. The Image List before abzulösen with this Message and 0 as lever. thanks, The Message Have I in the Win32.hlp on The speedy not found. is well only MSDN described. |
|
|
| |
|
|