RE: Binding & Icons

new topic     » goto parent     » topic index » view thread      » older message » newer message

It sounds like he's trying to override the win32lib defined icon using 
bindw.exw. Is that possible?


And the icon used by the ALT+TAB window, is the normal(large) icon.
I checked.


Chris

Wolf wrote:
> > has anyone noticed that when you press Alt+Tab to show you current 
> > running applications Eu app don't display their icons?
> > When i bind my app and run it and press Alt+tab ....i still see the icon 
> > 
> > IDI_APPLICATION instead of the icon i used when binding my APP
> 
> ...methinks, when you hit ALT + TAB, what's shown is the icon in the 
> program's title bar,
> *not* the icon that Explorer shows.
> To get your icon into the title bar using win32lib, you'll have to use 
> some code in your startup routine, for example:
> 
> procedure start_up()
> atom jk
> -- get the icon from your .exe'
> jk = w32Func(xLoadIcon,{instance(),allocate_string("exw")})
> -- and insert it in the program's title bar.
> jk = sendMessage(YourWin,WM_SETICON, 1, jk)
> 
> ... where 'YourWin' is your 'WinMain' id
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu