| |
|
|
- Page 1 - |
|
 E.T. | even so noticed: Is my XProfan-Program in the nProc on the works, becomes it z.B. through "Neuzeichnen" from the exit brought. "Neuzeichnen" exit Yes always on, if the Prog-Window minimizes, covers or moved becomes (covers z.B. through Screen saver ). After such one Event scheind my nProc unending so engage To his, the window new draw To want. and this forever, with the Eieruhr for utterly Auslastung. too The Messages on The beam-Show to achieve no effect More. self the system-Menu becomes muddy, to the nProc have I z.B. the [X] for "Programm schließen" deaktiviert, this is then again active. as long as I the window not verdecke or shift, runs the nProc klaglos through, with the integrally normalen arrow as Cursor....
example of my nProc: CompileMarkSeparation
nProc Vergleichen
global Liste1&, Liste2&, Liste4&, Zaehler1&, Zaehler2&, Status&, ProgressBar_3&, ProgressBar_4&
Declare Verg_Dat_1$, Verg_Dat_2$, Vergl_Str1$, Vergl_Str2$, Vergl_Pass&, Pos_L1&
WhileLoop 0,Zaehler1&
Vergl_Str1$ = GetText.Listview(Liste1&, &loop, 0)
Verg_Dat_1$ = GetText.Listview(Liste1&, &loop, 1)
WhileLoop 0,Zaehler2&
Vergl_Str2$ = GetText.Listview(Liste2&, &loop, 0)
If Vergl_Str1$ = Vergl_Str2$
Verg_Dat_2$ = GetText.Listview(Liste2&, &loop, 1)
IfNot Verg_Dat_1$ = Verg_Dat_2$
Inc Vergl_Pass&
AddString(Liste4&, Verg_Dat_1$ + "|" + Verg_Dat_2$)
EndIF
EndIf
Sendmessage(ProgressBar_4&,$0400+2,int(100.0/Float(Zaehler1&)*Float(&loop)),0)
EndWhile
Sendmessage(ProgressBar_4&,$0400+2,0,0)
Sendmessage(ProgressBar_3&,$0400+2,int(100.0/Float(Zaehler1&)*Float(&loop)),0)
EndWhile
ENDPROC
is Yes hold no so komplizierter code, solely the vergleichen vieler Strings on Übereinstimmung (runs hold still as nProc vieeel faster as in XProfan..) |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/12/10 ▲ |
|
|
|
 |
« this Posting watts as Solution marked. » |
|
 | |
|
| |
|
 |
|
|
 | Sorry, what? I could yet never so yummy Repaint How with nProcs (see canvas etc)
one ought to at Repaint naturally not for care, that same again neugezeichnet go wants - then Gibts naturally NEN windows-Unendlichloop - here helps z.B. validaterect "im" wm_paint.
For which very need an example? |
|
|
| |
|
|
|
 | here again iF...
mist, with ueber 250 fractures always the Handyinternet together...
I faith I know now what you mean...
gleiches behaviour can You with sleep 10000 bverursachen... if one Thread operates then can it not Redraw... this is but voellig normal. |
|
|
| |
|
|
|
 | hehe Berlin ... Coswig ... 22 minutes gg ... is How nProc... |
|
|
| |
|
|
|
 E.T. | only versteh I now not, where the windows-Unendlichloop hekommt. it should Yes only then neugezeichnet go, if too must. means z.B. if the window of minimizes restored becomes. in the nProc bleibts very there (unending) hang, the Redraw comes not at all first at Window on (remaining white). the same Proc in XProfan has this trouble not, there XProfan itself Yes around the Repaint kümmert . Can not the nProc too procure ?? or remaining The Repaint-invitation in the nProc forever stand, so the therefore the windows-Unendlichloop arise ??? |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/12/10 ▲ |
|
|
|
|
 | Wiederda...
give me Please one complete example on the I one bestimmtes behaviour understand (and then ggf. too explain) can. ^^ |
|
|
| |
|
|
|
 | |
|
| |
|
|
|
 E.T. | in the momentum werd I it first so let, the the window to veränderung (move etc.) not any more updated becomes. Have attempts, The wm-pain - Message ans Haupfenster in the nProc "rauszufiltern", what but with kommentarlosem discontinue end...
Eigendlich I will Yes only, the in the obigen Bsp. the wm_paint at Mainwindow ankommt. One waitinput 1 would there to the internal Loop ggf. Perhaps already help, goes Yes hold but Nich. |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/13/10 ▲ |
|
|
|
|
 | E.T. (13.11.10)
Eigendlich I will Yes only, the in the obigen Bsp. the wm_paint at Mainwindow ankommt.
clear, if your UI-Thread operates - z.B. with Sleep 10000 or a Loop in a nProc; or in a API - even only not of/ one XProfan-Loop - then jumping the UI-Thread not simply at a single blow in a wProc circa wm_paint to execute separate even first then if z.B. GetMessage/ WaitApis of Progger _angewiesen go. |
|
|
| |
|
|
|
 | but what You with "Unendlichschleife" mean or How You such obig beget can I not understand. |
|
|
| |
|
|
|
 E.T. | iF (13.11.10)
but what You with "Unendlichschleife" mean or How You such obig beget can I not understand.
That the Unenlich-Loop has clarified, if the nProc "durch" is, GEHTS integrally normal in the Prog moreover (not long enough waited ).
[OFFTOPIC]If one new mail (How even from you) eintrifft, During low one in this Tread yet on the reading is, so becomes this andersfarbig dargestell (sure so pseudo), but drunter missing the Quote etc., only The Uhrzeit standing there  [/OFFTOPIC] |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/13/10 ▲ |
|
|
|
|
 | E.T. (13.11.10)
iF (13.11.10)but what You with "Unendlichschleife" mean or How You such obig beget can I not understand. That the Unenlich-Loop has clarified, if the nProc "durch" is, GEHTS integrally normal in the Prog moreover (not long enough waited  ).
Well very, so is the too "richtig" - one should Yes whom UI-Thread not andauernden releases blockieren separate then even NEN extra Thread keep busy. by the "Ehrlichkeit" of/ one nProc falls this umsomehr on. ^^
[OFFTOPIC] E.T. (13.11.10)[OFFTOPIC]If one new mail (How even from you) eintrifft, During low one in this Tread yet on the reading is, so becomes this andersfarbig dargestell (sure so pseudo), but drunter missing the Quote etc., only The Uhrzeit standing there [/OFFTOPIC] this is "korrekt" so or. behave itself How program - The "nachgeschobenen" "Live-Postings" are sogesehen no Vollwertigen and show z.B. too no Dateianhänge etc. are sooner "nützliche Notes on möglicherweise-useful Beiträge" and make possible but at least a Livekonversation.  [/offtopic] |
|
|
| |
|
|