1. Unwanted window
I have written a reminder program and put a shortcut in my Windows startup
folder. I want the reminder to show only if 2 days hve passed.
procedure Window1_onPaint (integer self, integer event, sequence params)
if data[1]>1 then
--window code here
else
abort(0)
end if
end procedure
setHandler( Window1, w32HPaint, routine_id("Window1_onPaint"))
Problem is: If 2 days have not passed it outlines a window on my desktop
then
erases it immediately. I don't want see anything about it on my desktop at
start up unless of course 2 days have passed. How can I do this
don cole
SF
2. Re: Unwanted window
don cole wrote:
>
> I have written a reminder program and put a shortcut in my Windows startup
> folder. I want the reminder to show only if 2 days hve passed.
I think if you put your function in the Window's "w32HOpen" procedure it will
work as you want. In the Open procedure, it hasn't drawn anything to the
screen yet, and if you abort at that point, nothing is ever displayed.
-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/
3. Re: Unwanted window
- Posted by Chris Burch <chriscrylex at aol.com>
Nov 18, 2004
-
Last edited Nov 19, 2004
don cole wrote:
>
>
> I have written a reminder program and put a shortcut in my Windows startup
> folder. I want the reminder to show only if 2 days hve passed.
>
> }}}
<eucode>
>
> procedure Window1_onPaint (integer self, integer event, sequence params)
> if data[1]>1 then
> --window code here
> else
> abort(0)
> end if
> end procedure
> setHandler( Window1, w32HPaint, routine_id("Window1_onPaint"))
>
> </eucode>
{{{
> Problem is: If 2 days have not passed it outlines a window on my desktop
> then
> erases it immediately. I don't want see anything about it on my desktop at
> start up unless of course 2 days have passed. How can I do this
>
> don cole
> SF
>
Try when starting winmain
WinMain( Window1, WS_EX_TOOLWINDOW )
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/