1. RE: more window help

Hi George,

Hard to say what the problem might be without more info.  A stand alone 
program like this one:
   ----------
include win32lib.ew

constant
   Win = create(Window,"test",0,10,10,500,500,{WS_CAPTION,WS_POPUP})

WinMain(Win,Normal)
   ----------
On XP using Win32Lib 0.59.1 with Eu 2.4 does show up on the task bar... 
However, without a WS_SYSMENU I must use task manager to close it.

How are you opening the window?  Maybe making it modal will help keep it 
out front?

-- Brian

George Walters wrote:
> 
> 
> I launch a program from an EU menu program (one I wrote) and the 2nd 
> program
> creates a window in which to run and display stuff in the status bar as 
> it
> runs . The problem I have is that if I session away (click to another
> program on the task bar), I can never get back to the window. It does 
> not
> show up on the task bar... here's the window.. what have I done 
> wrong....
> 
>  display = create(Window,pgmNm & " - " & pgmTitle,
>     0,sx,sy,sw,sh,{WS_CAPTION,WS_POPUP})
> 
> george
> 
>

new topic     » topic index » view message » categorize

2. RE: more window help

George Walters wrote:
> 
> 
> Well, this morning this 2nd window does show up on the task bar, so 
> there
> apparently is no real problem with this. A reboot apparently fixed the
> problem...I now remember that I was having some problem with blank 
> taskbar
> items I thought was caused by our font bug. Perhaps it also can lose the
> button as well.
> 
> george
> 
> ----- Original Message -----
> From: "George Walters" <gwalters at sc.rr.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Monday, August 04, 2003 7:33 PM
> Subject: Re: more window help
> 
> 
> > Derek, here's the statements which launch the 2nd program from the 
> > first..
> >
> >             temp = system_exec ("exw.exe "&subIndex[i]&".exw",2)
> >             if temp!= 0 then
> >                 temp = message_box("Execution error - program not
> > found","",0)
> >
> > george
> > ----- Original Message -----
> > From: "Derek Parnell" <ddparnell at bigpond.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Monday, August 04, 2003 5:48 PM
> > Subject: Re: more window help
> >
> >
> > > ----- Original Message -----
> > > From: "George Walters" <gwalters at sc.rr.com>
> > > To: "EUforum" <EUforum at topica.com>
> > > Sent: Tuesday, August 05, 2003 6:30 AM
> > > Subject: more window help
> > >
> > >
> > > > I launch a program from an EU menu program (one I wrote) and the 2nd
> > program
> > > > creates a window in which to run and display stuff in the status bar
> as
> > it
> > > > runs . The problem I have is that if I session away (click to another
> > > > program on the task bar), I can never get back to the window. It does
> > not
> > > > show up on the task bar... here's the window.. what have I done
> > wrong....
> > > >
> > > >  display = create(Window,pgmNm & " - " & pgmTitle,
> > > >     0,sx,sy,sw,sh,{WS_CAPTION,WS_POPUP})
> > > >
> > >
> > > Don't know George, it works for me just fine. How are you launching this
> > program?
> > >
> > > --
> > > Derek
> > >
> > >
> > > TOPICA - Start your own email discussion group. FREE!
> > >
> > >
> > TOPICA - Start your own email discussion group. FREE!
> >
> >

Hello there George,

That's very interesting.  I noticed i have this problem too 
sometimes (win 98 os) but when using a very very old version
of the Win32Lib (~1998).
This problem, for me anyway, is so rare (1 out of every 50 runs)
that i never bothered to hunt down the cause of it, and, at least
this particular problem, goes away as soon as i click on the
blank iconized window on the task bar.  The iconized window goes
away and that seems to be the end of it.

It is interesting that this is a close out problem too though,
because the only time you see the blank iconized window on the
task bar is AFTER the application is closed out.  It never
happens while the app is running.
This makes me wonder if something isnt destroyed (or released)
properly in the older library and maybe the new too.
I doubt i'll try to track this down however, because like i said,
it's so rare and when it does happen it goes away as soon as i
click the blank inconized window.

You did mean blank iconized window or just blank icons in your post?

Take care for now,
Al

new topic     » goto parent     » topic index » view message » categorize

3. RE: more window help

On 5 Aug 2003, at 14:40, Al Getz wrote:

<snip>

> Hello there George,
> 
> That's very interesting.  I noticed i have this problem too 
> sometimes (win 98 os) but when using a very very old version
> of the Win32Lib (~1998).
> This problem, for me anyway, is so rare (1 out of every 50 runs)
> that i never bothered to hunt down the cause of it, and, at least
> this particular problem, goes away as soon as i click on the
> blank iconized window on the task bar.  The iconized window goes
> away and that seems to be the end of it.
> 
> It is interesting that this is a close out problem too though,
> because the only time you see the blank iconized window on the
> task bar is AFTER the application is closed out.  It never
> happens while the app is running.
> This makes me wonder if something isnt destroyed (or released)
> properly in the older library and maybe the new too.
> I doubt i'll try to track this down however, because like i said,
> it's so rare and when it does happen it goes away as soon as i
> click the blank inconized window.

That sounds like an out of resources 16bit problem, i have had it with almost 
every application from time to time. Dialup is prone to this if it is
interrupted
at any time. Inter-process communication can bite the dust too, leading to 
the blank icon assigned to no app, because MSGSRV32.exe is 16bit. So is 
mmtask.tsk.

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu