English
Opportunities and suggestions

Oberwunsch: Fensterskalierung

 
- Page 1 -


Hello Roland,

since Version 1 of [X]Profan[²] has it one dickes Manko How I to Time not more than yet of uralten Java(tm)-Applications know: programs cannot on Fensterskalierung react during the window skaliert becomes.

User could finished programs as low-rent class - many XProfan benefit therefore stiff Window.

it ought to possible his the this code
CompileMarkSeparation
whom Content not first to the Skalierung executing. the settle of/ one suitable UserMessage uses insofern no dice The Messages WaitInput too first to the Skalierung durchbrechen.

Please find this a Solution - thread.pcu or subClassen of hWnd are problematically because of the ProcAddr-trouble, means not recommendable. Waitinput durchbrechen with wm_sizing as UserMessage would enough. likewise is to ascertain the wm_erasebkgnd as UserMessage on hWnd wonder bewirkt - with gesetzter UserMessage flimmert hWnd not at Skalieren. is Perhaps ne Brush-thing - ought to but time angeschaut go.
 
01/10/08  
 



 
- Page 1 -



Jörg
Sellmeyer
sees very calm from. an question have I but yet:
in the waitinput bedeuted probably, that You in your WaitInput-procedure the Reading the Subclassmessages erledigst, or?
is the because now in each WaitInput so, only the Mainwindow related, or can/should/must to the somehow switch off, if I z.B. one Dialog-Window with eigener Loop and WaitInput open?
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/18/08  
 



 
- Page 2 -


@Jörg: In each Waitinput - independent where this in the code standing and independent of Control, it has means with the Mainwindow hWnd not really something To do. (even if Roland intern Perhaps there ansetzt)

SubClassMessage has Yes to that Happiness its first Parameter for the viewing Control!
 
01/18/08  
 




Jac
de
Lad
rather would yet SubClass as function instead of as procedure and as Return Value whom previous worth. or somehow a function to that detect, whether one one Window already subclassed,
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/18/08  
 




Frank
Abbing
@Roland:
 
01/18/08  
 



In welchem drop can the in example useful his Jac?

@any: for the feature should we Roland couple Stars zukommen let jau?! I catch on...
 
01/18/08  
 




Jac
de
Lad
If is a or several Incs/Units using, The possible or sure subclassen.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/18/08  
 




Jörg
Sellmeyer
so How I the in the momentum see, there only a SubClassProc and the ought to then in a Inc/Unit nothing to search having. or where should XProfan know, which SubClassProc nu meant is?
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/18/08  
 




Jac
de
Lad
Aso...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
01/18/08  
 




RGH
time look, whether I some the aufgekommenen answer questions can.

Subclassing functions in each WaitInput. on the WaitInput self have I nothing changed, I already jehe mere Flag set, on the I erkenne, I me in WaitInput befinde.
there's in XProfan exakt a Window-procedure for Subclassing
with the commands SubClass Win& becomes the Window these procedure as Fensterprozedur untergejubelt and at the same time in a scheduler The Original-Fensterprozedur stored.
in the new Fensterprozedur becomes now screen, whether I in WaitInput be. unless, becomes over The scheduler The ursprüngliche Fensterprozedur the Fensters determined and called. If I in Waitinput be, becomes The SUBCLASSPROC called. ought to The Message not over SubClassMessage(Win&, Msg&) treats been his, becomes too now The Originalfensterprozedzur called.

If one know wants, in which, of several WaitInputs itself befindet, can Yes globale variables as ? Happen? using and these in the SUBCLASSPROC inquire. Also can with with SUBCLASS Win&,0 anytime the SubClassing for a Window or Controll switch off and later again SUBCLASS Win&,1 on.
BTW: I recommend though over ands over again, in the program only one WaitInput to have! there one never white, where the User as Nächstes inklickt, would it already thick, if one itself straight in the Waitinput befindet, the of it nothing mitbekommt.

it must only a SUBCLASSPROC give. with of/ one second in the program results a Error Message. (with the opportunity have so did i a Error Message installed if ERRORPROC one further time auftaucht.) an Error Message results too, if SubClassing eingeschaltet is and no SUBCLASSPROC existing.

@iF: I could now a angepaßte Version the Lexers use, with the too the couple SUBCLASPROC-ENDPROC functions (so How ERRORPROC-ENDPROC).

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/18/08  
 




RGH
Hi,

I have the Listing moreover supra yet something angepaßt, so that now nothing more flackert .... at least not under How to remove and following.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
01/21/08  
 



Habs tested - crazy thing!

a bow can I however discern. If to the Window very zügig zurechtruppt then can discern the The Skalierung always a step zurückliegt. Perhaps. vergessener Stack or width/height not updated. let one The Mouse button then go, then updated sichs correctly.
 
01/21/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

10.353 Views

Untitledvor 0 min.
Peter Max Müller10/22/17
E.T.01/02/16
ByteAttack08/09/15
Normann Strübli08/22/14
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