| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> hm <1> GDI handles? <2> All I have in this window is a toolbar with no icon since the image list creation fails <2> Oddly enough, ImageList_Create doesn't return NULL
<1> is the handle valid? <2> Well, it's not NULL :p <1> but does it work? :) <2> Well, I can retrieve the number of images from it <2> But the buttons are empty <2> So while looking around trying to find why it doesn't display the icons, I found GetLastError() returned 8 <2> Which is odd <1> curious <3> moo <4> :) <3> don't slap me bitch <5> GetLastError is only valid if the return of the function specifies it has meaning
<4> :)) <5> who knows if, internally, it called something that failed, set the error code, and they handled it <2> Well, TB_ADDBUTTONS returns TRUE, the button is there, but it just won't display the image heheh <5> and the tool bar is ***ociated with the image list i take it? <5> (vice versa) <2> Should be, I send it a TB_SETIMAGELIST <2> (index 0, since I use only one) <2> Then for TBBUTTON, I fill iImage with MAKELONG(imageindex,0) <2> And that's about it <2> Unless there is a special "display the icon" style <2> Btw it's 32-bit icons, just in case that's not supposed to work <5> i don't know why it wouldn't
Return to
#c++ or Go to some related
logs:
#chatzone #linux tajarni growisofs unable O_EXCL #AllNiteCafe 'linux undernet arrogance' #teens #linux #linux #squid
|
|