comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Windows Question Related to IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Windows Question Related to IDL [message #33340 is a reply to message #33338] Wed, 18 December 2002 12:46 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.186a7fb72172929b989a7b@news.frii.com...
> Folks,
>
> Do you know when you start a windows application up, the icon and
> window title for those windows change, reflecting the new
> application? IDL's windows, for example, have the little green/red
> squares logo in front of what looks like a notebook (I don't know,
> don't ask me).
>
> Where do these windows find their icons? If I wanted to replace the
> IDL icon with an icon of my choosing, how would I do that? I presume
> this might be a register thing, but I don't really know where to
> look.

Does this help? (You're going to need to unwrap that URL before using
it.)

http://msdn.microsoft.com/library/default.asp?url=/library/e n-us/winui
/winui/windowsuserinterface/windowing/windows/windowreferenc e
/windowmessages/wm_seticon.asp

It refers to the WM_SETICON message, thusly:

An application sends the WM_SETICON message to associate a new large
or small icon with a window. The system displays the large icon in
the ALT+TAB dialog box, and the small icon in the window caption.

Syntax

To send this message, call the SendMessage function as follows.
[snip]

It's a long time since I tried to access the Windows API from IDL (and
I wasn't hugely successful when I did) but these days I might try
spawning a call to the Windows Scripting Host, which should be
available on later versions of Windows.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Previous Topic: Re: HDF SD names?
Next Topic: Re: Generating PS files and png files at the same time

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 09:37:24 PDT 2025

Total time taken to generate the page: 1.82471 seconds