English
Forum

statement of Bitmaps under WIN7 Enterprise 64-bit with DRAWSIZEDPIC

 

Stephan
Sonneborn
Hello together,

I have with WIN 7 Enterprise 64 bit with the statement one verzerrten Bitmaps Problems (tested on 2 different Rechnern).

Folgender View source shows I do not whom windows-Start-background (or only integrally short during the Fenstergrößeänderns...)
has jemend a idea, Why it's located?

with WIN7 Home Premium 64 bit works it, with WIN7 32 bit too...
CompileMarkSeparation
Set("Autopaint", 0)
CLS
VAR Bitmap& = Create("Text", %hwnd, "", 10,10,200,50)
VAR HBitmap& = Create("HPic", -1, "c:\\windows\\system32\\oobe\\background.bmp")

Proc Neuzeichnen

    StartPaint Bitmap&
    DrawSizedPic HBitmap&, 0,0 - 200,50;0
    EndPaint

EndProc

Neuzeichnen

While 1

    WaitInput 100
    Case %wmpaint: Neuzeichnen

Wend

End
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
03/08/12  
 




Wilfried
Friebe
Hi Stephan

I have Win 7 Prof 64 bit.
once I The Fenstergröße change is the Bitmap lane.
tappt im dunkeln go away once I with the mouse The Size change
and is first again there if I The left Mouse button again loslasse.

Greeting Wilfried
 
Board MSI B450M BAZOOKA CPU AMD Ryzen 7 2700x 8 Core 3,7-4,2 GH 32 Gb Ram NVIDIA GeForce GTX 3060 12 GB Ram Window 11 Prof 64 Bit

Sun-Guru-Barebone CPU I7-9750H 16 GB Ram NVIDIA GeForce GTX1660TI 6 GB Ram Window 11 Hom 64 Bit

Profan 4.5 bis Xprofan 14
Ein frisch geschriebenes Programm hat meistens einen großen Fehler.Sollte man versuchen diesen großen Fehler zu beseitigen, hat man viele kleine Fehler "Grins"
03/08/12  
 




Wilfried
Friebe
Hi Stephan

I bins again.
with my XP computer is it similar.
the Bitmap goes of course too lane, but it remaining one
beiges rectangle.

Greeting Wilfried
 
Board MSI B450M BAZOOKA CPU AMD Ryzen 7 2700x 8 Core 3,7-4,2 GH 32 Gb Ram NVIDIA GeForce GTX 3060 12 GB Ram Window 11 Prof 64 Bit

Sun-Guru-Barebone CPU I7-9750H 16 GB Ram NVIDIA GeForce GTX1660TI 6 GB Ram Window 11 Hom 64 Bit

Profan 4.5 bis Xprofan 14
Ein frisch geschriebenes Programm hat meistens einen großen Fehler.Sollte man versuchen diesen großen Fehler zu beseitigen, hat man viele kleine Fehler "Grins"
03/08/12  
 




Jörg
Sellmeyer
Have of course no Win7 but only to Info: by me (XP) remaining The Bitmap there, where tappt im dunkeln should too with Größenänderungen the Fensters.
Verwende Although a other Image but the ought to Yes alike his.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/08/12  
 



there come well Zeichnungsnachrichten die's %wmPaint not settle and/ or %wmPaint operates without Stack or. Messages overlay on the %wmPaint past.

Perhaps test times whether the trouble already so fixed go can if one The Lösche-background-Message (wm_eraseBkGnd) not on The eigentliche wProc weiterleitet -

means with the Message z.B. set("winProc", 0) inside the subClassProc and return 1.

@Stephan & Wilfried: have your "Aero" eingeschaltet?
 
03/08/12  
 




Stephan
Sonneborn
iF (08.03.12)

@Stephan & Wilfried: have your "Aero" eingeschaltet?


No, I Have even extra the "alte" windows, means windows - classic, eingeschaltet.

It's all right though only with the DrawsizedPic not, DrawPic goes...
I have too with XP, WIN 7 32 bit no trouble, neither with WIN7 64 bit Home Premium.

The problem exists too at draw on one Dialog-Window.
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
03/08/12  
 



have You time...
iF (08.03.12)

there come well Zeichnungsnachrichten die's %wmPaint not settle and/ or %wmPaint operates without Stack or. Messages overlay on the %wmPaint past.

Perhaps test times whether the trouble already so fixed go can if one The Lösche-background-Message (wm_eraseBkGnd) not on The eigentliche wProc weiterleitet -

means with the Message z.B. set("winProc", 0) inside the subClassProc and return 1.


mind/ tested?
 
03/09/12  
 




Stephan
Sonneborn
iF (09.03.12)

have You time...
iF (08.03.12)

there come well Zeichnungsnachrichten die's %wmPaint not settle and/ or %wmPaint operates without Stack or. Messages overlay on the %wmPaint past.

Perhaps test times whether the trouble already so fixed go can if one The Lösche-background-Message (wm_eraseBkGnd) not on The eigentliche wProc weiterleitet -

means with the Message z.B. set("winProc", 0) inside the subClassProc and return 1.


mind/ tested?


No, not yet, kanns in the momentum neither, because I on the system first on the monday again grabbed Have.

I question me only, wieso the on some Systemen not goes...

be I do not sure, whether I the right understood have with the Subclassing...
CompileMarkSeparation
H Messages.ph
 $H Windows.ph
Set("Autopaint", 0)
CLS
VAR Bitmap& = Create("Text", %hwnd, "", 10,10,200,50)
VAR HBitmap& = Create("HPic", -1, "c:\\windows\\system32\\oobe\\background.bmp")

SubClassProc

    If SubClassMessage(%hWnd, ~wm_eraseBkGnd)

        Set("WinProc", 0)

    EndIf

    RETURN 1

EndProc

Proc Neuzeichnen

    StartPaint Bitmap&
    DrawSizedPic HBitmap&, 0,0 - 200,50;0
    EndPaint

EndProc

SubClass %HWnd, 1
Neuzeichnen

While 1

    WaitInput 100
    Case %wmpaint: Neuzeichnen

Wend

SubClass %HWnd, 0
End
 
Schöne Grüße aus Wittgenstein
von Stephan

Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz
03/09/12  
 



Yes about so meant I the, it can but his that not ausreicht because these not-native subclassproc not unterbrechungsfrei operates and one it really with of/ one nProc testing should.
 
03/09/12  
 




Dieter
Zornow
on any Cases must You
CompileMarkSeparation
SubClass bitmap&, 1
>

use, not %hwnd otherwise remaining at enhance the Window the copy the Window on the middle-aged place receive. by me GEHTS then though Win 7 Premium 64 bit
 
XProfan X2
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
03/09/12  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.246 Views

Untitledvor 0 min.
Heiko Dix10/11/20
H.Brill08/09/17
p.specht04/03/16
Peter Max Müller10/30/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