Re: Please ... How do I place an icon on Title Bar in Program below ?

new topic     » goto parent     » topic index » view thread      » older message » newer message
Selgor said...

Hi,

I am still learning.

But I do not know the code necessary to place an icon on the left of the bar.

Help anyone ?

Programme is below.

 
include win32lib.ew 
 
integer Win 
 
Win = createEx( Window, "    ",  0, 20, 40, 300, 60, 
            {WS_BORDER, WS_SYSMENU, WS_DLGFRAME}, 
            {WS_EX_TOOLWINDOW} ) 
 
WinMain( Win, Normal ) 
 
 
In anticipation, 
 
Thank you. 
 
Selgor. 
 

You may want to use setIcon(integer id, object icon). The docs will tell you which kinds of control support this, and a variety of ways to specify the icon, depending on where it is to be found.

CChris

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

Search



Quick Links

User menu

Not signed in.

Misc Menu