| |
|
|
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 |
|
|
|
|
| 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. |
|
|
| |
|
|
|
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... |
|
|
| |
|
|
|
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 . |
|
|
| |
|
|
|
| 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. |
|
|
| |
|
|
|
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: CompileMarkSeparationwindowstyle 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. |
|
|
| |
|
|
|
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 ▲ | |
|
|
|