Re: application.hide ..

From: Qzg=FCr=20TU=D0RUL?= (oztugrul_at_hacettepe.edu.tr)
Date: 10/16/03


Date: Thu, 16 Oct 2003 20:32:02 +0300

it works .. thanks Michael ...

Fauschti wrote:

> Hi,
>
> Insert this as the first lines in your .dpr file:
>
> SetWindowLong( Application.handle, GWL_EXSTYLE,
> GetWindowLong( Application.handle, GWL_EXSTYLE ) and
> not WS_EX_APPWINDOW or WS_EX_TOOLWINDOW);
>
> regards,
> Michael
>
> "Özgür TUĞRUL" <oztugrul@hacettepe.edu.tr> schrieb im Newsbeitrag
> news:3F8EC31B.16950E96@hacettepe.edu.tr...
> > hi guys ...
> >
> > actually, my question is too simple :)
> >
> > i have an system tray application :) in project code, i wrote in project
> > code (dpr) showwindow(application.handle, sw_hide) ... but sometimes
> > application window is being see on toolbar ... how can i prevent this ?
> > do i have to write another code to prevent this every time ?
> >
> > i think sometimes windows98 shows my "application window" on toolbar ..
> > but why ? or, when does Windows98 do this ? i'm using
> > showwindow(application.handle, sw_hide) api ... isn't it enough ?
> >
> > thanx in advance guys ...
> > --
> > ============================================
> > Özgür TUĞRUL
> >
> > Application & System Programmer
> > Ass. Database & System Adm.
> > Statistician & Research Ass.
> >
> > Hacettepe University Office of the Registrar
> > Data Processing Department - System Room
> >
> > oztugrul@hacettepe.edu.tr
> > http://yunus.hacettepe.edu.tr/~oztugrul/
> > ============================================
> >
> >

--
============================================
Özgür TUĞRUL
Application & System Programmer
Ass. Database & System Adm.
Statistician & Research Ass.
Hacettepe University Office of the Registrar
Data Processing Department - System Room
oztugrul@hacettepe.edu.tr
http://yunus.hacettepe.edu.tr/~oztugrul/
============================================


Relevant Pages

  • Re: printing richedit ...
    ... Sarfraz Bokhari wrote: ... >> Özgür TUĞRUL ... >> Hacettepe University Office of the Registrar ...
    (borland.public.delphi.nativeapi)
  • Re: sending key a maskedit (another problem)?
    ... perform is more sensible than postmessage for this kind of components ... ... > Özgür TUĞRUL wrote: ... >> Hacettepe University Office of the Registrar ...
    (borland.public.delphi.nativeapi)
  • Re: Spam from bestdealfinder.us
    ... really starting to overflow my blocked list. ... Unfortunately now he's changed his domain to bestdealfinder.info with a different registrar, with a privacy blocker. ...
    (rec.motorcycles.harley)