English
Opportunities and suggestions

wish: Flackern at change the Fenstergröße turn off

 

Jörg
Sellmeyer
already with this small code flackert the window, if one The Size changed. I find, the ought to not his.
or Gibts a ploy, around the too with Hausmitteln sure and not To umständlich To unterbinden?
CompileMarkSeparation
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/08/08  
 



remedy with
CompileMarkSeparation
be the thing with Frank too time on the reason gone, I faith one (of Roland) To plenty gesetzter Brush causes the.
 
09/08/08  
 




Jörg
Sellmeyer
Yes, once but a couple Controls drin are (particularly Listviews!), flackert it How stupid.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/08/08  
 



Must Yes How said only The UserMessage define, already no Flackern More...
 
09/09/08  
 




Jörg
Sellmeyer
Well...
CompileMarkSeparation
 $H Messages.ph
userMessages ~wm_eraseBkGnd
Cls
Var cb& = Create("CheckBox",%hwnd,"Test",10,2,100,24)
Var lv& = Create("GridBox",%hwnd,"Test",0,10,30,400,400)
AddString(LV&,"Test")

While 1

    WaitInput

Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/09/08  
 



is correct, its still "da".

to that Happiness counts this only for the %hWnd, thatswhy use I the too always only for Messages and cache it mostly by 1024 | 2048 .
 
09/09/08  
 



here, the runs very beautiful:
CompileMarkSeparation
 {$cleq}
windowstyle 1024 | 80
window 0,0 - 0,0
windowstyle 4 | 8 | 512
var h&=createWindow(0,"test",10,10,200,300)
Var cb& = Create("CheckBox",h&,"Test",10,2,100,24)
Var lv& = Create("GridBox",h&,"Test",0,10,30,400,400)
AddString(LV&,"Test")

While 1

    WaitInput
    case %key=2 : break

09/09/08  
 




Jörg
Sellmeyer
is at least ne creative idea, but z.B. Mausklicks on the Windows not any more weitergeleitet. Füg time AddStrings(lv&,Str$(%mousepressed))
behind WaitInput one.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/09/08  
 



UserMessage wm_lButtonDown or subclass lv&,1

Nachtrag: UserMessage wm_lButtonDown is not really.
 
09/09/08  
 




Jörg
Sellmeyer
where one already with some Umwegen is. Btw.: on the lv& functions with the %mousepressed even so.
I find but, Profan ought to simply of itself from not flackern
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/09/08  
 



is not at all bad:
CompileMarkSeparation
windowstyle 1024 | 80
window 0,0 - 0,0
windowstyle 4 | 8 | 512
var h&=createWindow(0,"test",10,10,200,300)
Var cb& = Create("CheckBox",h&,"Test",10,2,100,24)
Var lv& = Create("GridBox",h&,"Test",0,10,30,400,400)
AddString(LV&,"Test")
subClass lv&,1

While 1

    WaitInput
    case %key=2 : break

Wend

subClassProc

    if &sWnd==lv&

        if %sMessage=wm_lButtonDown

        endif

    endif

endproc

and has too a sauberere structure.
 
09/09/08  
 




Frank
Abbing
so GEHTS:
CompileMarkSeparation
 {$iq}
Cls
SetClassLong(%hwnd, GCL_STYLE, (GetClassLong(%hwnd, GCL_STYLE)- CS_HREDRAW - CS_VREDRAW))
Var cb& = Create("CheckBox",%hwnd,"Test",10,2,100,24)
Var lv& = Create("GridBox",%hwnd,"Test",0,10,30,400,400)
AddString(LV&,"Test")

While 1

    WaitInput

09/09/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.919 Views

Untitledvor 0 min.
Ralf Netz05/22/21
Sven Bader02/24/21
Jörg Sellmeyer06/18/18
ByteAttack12/07/15
More...

Themeninformationen



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