English
Forum

Why DeleteObject and not DestroyWindow

 

Jac
de
Lad
So I Have strain time in the Help geschmökert and i'm the following to that commands DeleteObject noticed:

the Objekt H becomes deleted and the Ressourcen again released. presently there following löschbare Objects in XProfan:

with @Create(Font,...) begot Fonts
with @Cretate(hIcon,...) begot Icons
with @Create(hPic,...) begot Bitmaps

question: Why go these Objects with DeleteObject and not DestroyWindow destroy???

Jac

alas Yes, The Help carry still whom cover Help XProfan 8 ;D
 
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
07/01/06  
 




Sebastian
König
Hello Jac,

integrally make a long story short: because it itself with Font and hPic (letztendlich always Bitmap) not circa Window, separate circa GDI-Objects deals ...

there's for either Profan-instructions too API-functions with same names - Beschreibungen moreover find You to that example under [...]  (with the Search best any Languages dial.

circa it yet one little komplizierter To make : for Icons, The AFAIK too User-Objects are, there a self-contained function to that destroy: DestroyIcon() - see ditto MSDN. XProfans DeleteObject calls automatically DestroyIcon() on, if DeleteObject() fails.

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
07/01/06  
 




Michael
Wodrich
and to that cover Help: whom fishing Microsoft itself from the PROFAN.CNT-File, as they present is.

These File is in the reinen Textformat, means simply Change.

If Roland yet nothing on Help changed has: I have with the Content-editor the Menu nacherfaßt - could I means again nachliefern.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
07/01/06  
 




Jac
de
Lad
OK, thanks, now is me some clear become.

Jac
 
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
07/02/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.719 Views

Untitledvor 0 min.
Jörg Sellmeyer06/24/18
Ju03/10/17
Rene196512/29/13
Andreas Koch01/25/12

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