| |
|
|
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 ▲ |
|
|
|