English
Forum

Stationary Statuszeile

 

efisch
I use a mehrteilige Statuszeile, The I with
CompileMarkSeparation
DEF @CREATESTATUSBAR(6) @control("msctls_statusbar32",@$(2),$50800040,
@%(3),@%(4),@%(5),@%(6),@%(1),101,%HInstance)e>
beget. the goes too well, as long as The Fenstergröße not changed becomes.
then remaining The Statuszeile simply stand or disappears from the Window (at verkleinern).
After SetWindowPos Handle& = 0,0-0,0 is everything again in the Lot.
there my Own Search (english-Kenntnisse wären Perhaps helpful been ) no verwertbaren
Results supplied has, The question on you:
gives it a Style, the The Anpassung automatically Done?

cordial Regards
ebi
 
10/20/05  
 



No.

The Statusbar must always angeschubst go.

on the best and on the Saubersten is the Anschubsen so:
CompileMarkSeparation
external("user32","SetWindowPos",sb&,0,0,0,0,0,28)
external("user32","InvalidateRect",sb&,0,0)
external("user32","UpdateWindow",sb&)re>
the Repaint becomes usually of a Program in the Fenstercallback prompted.

salvo, iF.
 
10/20/05  
 




efisch
[quote:c2c09e6ed6=iF]the Repaint becomes usually of a Program in the Fenstercallback prompted.[/quote:c2c09e6ed6]moreover missing me z.Z. yet the Detailwissen
I must me means well a little bit kundig make. can someone what recommend?

thanks
ebi
 
10/20/05  
 



look time the dürfe very the his what You gladly would have:
CompileMarkSeparation
Set("FastMode",1)
def cwp(5) !"user32","CallWindowProcA"
Declare ex%,_owp&,sb&
Cls
_owp&:=external("user32","SetWindowLongA",%hwnd,-4, Procaddr(_wproc,4))
sb&:=create("StatusWindow",%hwnd,"Bereit.")

Whilenot ex%

    Waitinput

Endwhile

end

Proc _wproc

    Parameters Wnd&, Msg&, Wparam&, Lparam&

    if (msg&==16)// close

        ex%:=1

    elseif (msg& == 3)// move

    elseif (msg& == 5)// size

        _redrw

    elseif (msg& == 15)// paint

    elseif (msg& == 256)// keydwn

    elseif (msg& == $108)// keylast

    elseif (msg& == 522)// wheel

        if (wparam&>0)

        else

        endif

    Endif

    Return cwp(_owp&,Wnd&, Msg&, Wparam&, Lparam&)

Endproc

proc _redrw

    External("user32","SetWindowPos",Sb&,0,0,0,0,0,28)
    External("user32","InvalidateRect",Sb&,0,0)
    External("user32","UpdateWindow",Sb&)

endproc

salvo, iF.
 
10/20/05  
 




efisch
Hello iF,
your Info on The Window-Callback-procedure was the crucial Info.
thereupon have I in the Profan-Help an example found and ShowWindow adjusted.
shining To functions.
will be with hereafter your example time accurate standing, Perhaps backing it Yes my understanding another little.

thanks
ebi
 
10/21/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.950 Views

Untitledvor 0 min.
RudiB.12/26/21
Peter Max Müller10/07/17
Ernst03/19/14
E.T.01/07/12
More...

Themeninformationen

this Topic has 2 subscriber:

efisch (3x)
iF (2x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie