POV-Ray : Newsgroups : povray.off-topic : A small project : Re: A small project Server Time
10 Oct 2024 19:24:54 EDT (-0400)
  Re: A small project  
From: Sherry Shaw
Date: 4 Mar 2008 09:23:48
Message: <47cd5b74@news.povray.org>
Invisible wrote:
> I want to write a small program that will display a status icon in the 
> system tray and pop up small messages in the corner of the screen. [It 
> is critical that these do *not* take the input focus. Can you imagine 
> how *annoying* that would be?]
> 
> Any suggestions as to how to pull this off? Personally I don't know of a 
> programming language that makes it easy to do this kind of thing.
> 
> [Obviously everything is possible in C, if you can figure out your way 
> around the low-level Win32 API... But that doesn't sound like my idea of 
> a good time.]
> 

Using C#:

Start a Windows project.  Open the default form in design mode.  Open 
the Toolbox, grab a NotifyIcon, and drop it on the form.  Look through 
the properties, events, and methods (all very standard Windows stuff) 
and see if what you need is in there.  Note that, while the Help file is 
fairly useful, Object Browser is your friend.  ;)

(I'm using Visual Studio 2005 Pro...don't know if there's any difference 
in the Express version or not.)

Is this at all useful?

--Sherry Shaw


-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.